You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
When introspecting a schema with a many-to-one relationship it returns an OrderArg with null inputFields. This causes an error in the latest GraphiQL.
To Reproduce
Create a schema with a many-to-one relationship and run introspection.
type user {
age: Int
name: String
points: Float
verified: Boolean
}
type group {
members: [user]
}
Expected behavior
I believe the expected behavior is to return the OrderArg object with at least 1 inputField.
## Relevant issue(s)
Resolves#1632Resolves#1502Resolves#1463
## Description
This PR adds an introspection test that identifies an issue with
`orderArg`.
## Tasks
- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...
## How has this been tested?
`make test`
Specify the platform(s) on which this was tested:
- MacOS
)
## Relevant issue(s)
Resolvessourcenetwork#1632Resolvessourcenetwork#1502Resolvessourcenetwork#1463
## Description
This PR adds an introspection test that identifies an issue with
`orderArg`.
## Tasks
- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...
## How has this been tested?
`make test`
Specify the platform(s) on which this was tested:
- MacOS
Describe the problem
When introspecting a schema with a many-to-one relationship it returns an
OrderArg
with nullinputFields
. This causes an error in the latest GraphiQL.To Reproduce
Create a schema with a many-to-one relationship and run introspection.
Expected behavior
I believe the expected behavior is to return the
OrderArg
object with at least 1inputField
.Platform
MacOS develop branch
Additional context
Introspection result excerpt:
Error from GraphiQL:
The text was updated successfully, but these errors were encountered: