Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Adding getInputTypeReference to SchemaModule
Browse files Browse the repository at this point in the history
  • Loading branch information
siderakis authored Dec 27, 2018
1 parent 5d02c60 commit cedc123
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ protected final GraphQLOutputType getTypeReference(Descriptor descriptor) {
referencedDescriptors.add(descriptor);
return ProtoToGql.getReference(descriptor);
}

protected final GraphQLTypeReference getInputTypeReference(Descriptor descriptor) {
referencedDescriptors.add(descriptor);
return new GraphQLTypeReference(GqlInputConverter.getReferenceName(descriptor));
}

protected ImmutableList<GraphQLFieldDefinition> extraMutations() {
return ImmutableList.of();
Expand Down

0 comments on commit cedc123

Please sign in to comment.