I need to send a mutation from my website to my graphql API, which would save some data in my database and return an object queried from a third party API.
The object returned from the third party API is unpredictable, thus I cannot provide any type to the returned payload in my schema:
type Mutation {
searchMovie(title: String!, poster: String!): ***HERE***
}
Is there some kind of "Any" graphql type that I am not aware of?
So far, my only solution is to stringify the object in order to give it the type "String". However, I prefer to avoid this method if I can.