Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCircular input property leads to stackoverflow #409
Comments
|
Confirmed bug. Contributions welcome. |
|
fyi, simple (non-mutual) recursion also triggers the bug: input CriterionInput {
and: [CriterionInput!]
or: [CriterionInput!]
not: CriterionInput
status: StatusCriterionInput
}
input StatusCriterionInput {
eq: String
} |
After updating graphql-java-tools to 6.1.0 i have encountered a stackoverflow exception on startup. I think that the problem was introduced in this commit: 10ee43f and happens because of the interaction between
determineInputTypeandcreateInputObject.Example schema:
According to the spec this should be allowed (graphql/graphql-spec#445, graphql/graphql-spec#189), which leads me to believe that this is a bug.