Open Vittorio1970 opened 1 week ago
Please provide a minimum reproduction repository (Git repository/StackBlitz/CodeSandbox project).
https://codesandbox.io/p/devbox/friendly-newton-lnjrc3
Info from the schema handler
[Object: null prototype] { OtypeMember: { name: 'OtypeMember', description: undefined, type: GraphQLScalarType { name: 'String', description: 'The
Stringscalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.', specifiedByURL: undefined, serialize: [Function: serialize], parseValue: [Function: parseValue], parseLiteral: [Function: parseLiteral], extensions: [Object: null prototype] {}, astNode: undefined, extensionASTNodes: [] }, args: [], resolve: [Function: rootFieldResolver], subscribe: undefined, deprecationReason: undefined, extensions: [Object: null prototype] { complexity: undefined, key: 'value' }, astNode: undefined } } [Object: null prototype] { ItypeMember: { name: 'ItypeMember', description: undefined, type: GraphQLScalarType { name: 'String', description: 'The
Stringscalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.', specifiedByURL: undefined, serialize: [Function: serialize], parseValue: [Function: parseValue], parseLiteral: [Function: parseLiteral], extensions: [Object: null prototype] {}, astNode: undefined, extensionASTNodes: [] }, defaultValue: undefined, deprecationReason: undefined, extensions: [Object: null prototype] {}, astNode: undefined } }
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
@ObjectType()
Result
@InputType()
Result
Describe the solution you'd like
Same behavior for fields included in both InputType and ObjectType
Teachability, documentation, adoption, migration strategy
.
What is the motivation / use case for changing the behavior?
.