Skip to content

Commit

Permalink
Fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishad-M-I-M committed Oct 29, 2024
1 parent 9dec925 commit 8e71722
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ private NodeList<Node> generateRecordTypeFieldsForGraphQLInputObjectFields(
List<GraphQLInputObjectField> inputTypeFields) throws ServiceGenerationException {
List<Node> fields = new ArrayList<>();
for (GraphQLInputObjectField field : inputTypeFields) {
MetadataNode metadataNode = getMetadataNode(field.getType(), field.getDescription(),
MetadataNode metadataNode = getMetadataNode(getUnwrappedType(field.getType()), field.getDescription(),
field.isDeprecated(), field.getDeprecationReason());
if (field.hasSetDefaultValue()) {
Object value = field.getInputFieldDefaultValue().getValue();
Expand All @@ -472,7 +472,7 @@ private NodeList<Node> generateRecordTypeFieldsForGraphQLFieldDefinitions(
List<Node> fields = new ArrayList<>();
for (GraphQLFieldDefinition field : typeInputFields) {
fields.add(createRecordFieldNode(
getMetadataNode(field.getType(), field.getDescription(), field.isDeprecated(),
getMetadataNode(getUnwrappedType(field.getType()), field.getDescription(), field.isDeprecated(),
field.getDeprecationReason()),
null, generateTypeDescriptor(field.getType()),
createIdentifierToken(field.getName()), null, createToken(SyntaxKind.SEMICOLON_TOKEN)));
Expand Down

0 comments on commit 8e71722

Please sign in to comment.