google/rejoiner

Schema Modification does not work on Input types

Open

#70 opened on Feb 27, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (152 forks)batch import
help wanted

Repository metrics

Stars
 (3,647 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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?

Contributor guide