google / rejoiner

Generates a unified GraphQL schema from gRPC microservices and other Protobuf sources
https://google.github.io/rejoiner/
Apache License 2.0
3.67k stars 139 forks source link

Schema Modification does not work on Input types #70

Open qcbuyertools opened 5 years ago

qcbuyertools commented 5 years ago

Hello,

We are trying to remove a field on an input by doing SchemaModification, but from this code it looks like proto modification only works on GraphQLObjectType instead of GraphQLInputObjectType:

https://github.com/google/rejoiner/blob/cedc123c18918d8c090543a4236ee344d2dbffeb/rejoiner/src/main/java/com/google/api/graphql/rejoiner/ProtoRegistry.java#L196-L206

Is there any chance we can add support for type modification on the input type?