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 bug
When querying the graphql endpoint using insomnia I am able to see the response, however I get a warning that I am unable to fetch the schema:
when reviewing the debug console of insomnia i get the below error as well:
Error: Introspection must provide input type for arguments, but received: [FirewallScheduleTimeRange]!.
Due to the above problem I do not get autocomplete in insomnia when writing queries as insomnia is unable to fetch the data in the schema at all.
To Reproduce
Steps to reproduce the behavior:
install insomnia
get the jwt token via the /api/v2/auth/jwt endpoint
query the graphql endpoint on /api/v2/graphql
response of 200 successful
but warning saying unable to fetch schema due to the error specified above
Expected behavior
When querying the endpoint I expect autocomplete in insomnia, this is only possible if the documentation is populated if fetching from the schema is successful.
pfSense Version & Package Version:
pfSense Version: 2.72
Package Version v2.3.0
Affected Endpoints:
URL: /api/v2/graphql
Additional context
The text was updated successfully, but these errors were encountered:
Seems there are some object types being mixed up somewhere when the schema is being generated. I'll get working on a fix for this. Assuming the fix doesn't require significant changes I can likely have it in the next patch. Otherwise, I'd expect it in v2.4.0.
Describe the bug
When querying the graphql endpoint using insomnia I am able to see the response, however I get a warning that I am unable to fetch the schema:
when reviewing the debug console of insomnia i get the below error as well:
Due to the above problem I do not get autocomplete in insomnia when writing queries as insomnia is unable to fetch the data in the schema at all.
To Reproduce
Steps to reproduce the behavior:
/api/v2/auth/jwt
endpoint/api/v2/graphql
Expected behavior
When querying the endpoint I expect autocomplete in insomnia, this is only possible if the documentation is populated if fetching from the schema is successful.
pfSense Version & Package Version:
Affected Endpoints:
Additional context
The text was updated successfully, but these errors were encountered: