GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Schema generator reports false positive unsatisfiable input object cycle · Issue #4214 · graphql-java/graphql-java Closed Labels keep-openTells Stale Bot to keep PRs and issues openTells Stale Bot to keep PRs and issues open DescriptionPer the spec, cyclic input object fields of non-nullable list type with non-nullable items are valid since the field value can be an empty list. However, the To reproduce, run the following code: import graphql.schema.idl.NoopWiringFactory; import graphql.schema.idl.RuntimeWiring; import graphql.schema.idl.SchemaGenerator; import graphql.schema.idl.SchemaParser; public class Main { public static void main(String[] args) { String query = """ input Example { self: [Example!]! value: String } type Query { example(example: Example): String } """.stripIndent(); TypeDefinitionRegistry typeDefinitionRegistry = new SchemaParser().parse(query); RuntimeWiring runtimeWiring = RuntimeWiring.newRuntimeWiring().wiringFactory(new NoopWiringFactory()).build(); new SchemaGenerator().makeExecutableSchema(typeDefinitionRegistry, runtimeWiring); } } Observe an Activity
MetadataMetadataAssigneesLabelskeep-openTells Stale Bot to keep PRs and issues openTells Stale Bot to keep PRs and issues open TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |