Hi, what If I wanted to expose an existing graphql...
# orm-help
m
Hi, what If I wanted to expose an existing graphql-api trough a gateway, but I would want to override a type field, i.e. replace
author: String!
by a locally defined type like
author: User!
on a
Post
type. Now, when I query the existing api through its binding passing the
info
object, it will complain about the
info
object, since the
author
field specified there is no longer of the scalar type
String
but of an object type
User
, which is unexpected for the exposed api. Is there a more elegant way to solve this issue then to modify the
info
object? Thanks for your input!
1