Open CelsoSantos opened 2 years ago
no updates or possible solutions to check?
Seeing the same issue with a similar schema file format here, comparing local JSON schema against an endpoint.
Can we please sort this out? How can I help?
I am also experiencing this issue. Any update would be greatly appreciated
- uses: kamilkisiela/graphql-inspector@master
with:
name: Validate GraphQL API
schema: 'master:path/schema.json'
{
"data": {
"__schema": {
"queryType": {
"name": "Query"
},
"mutationType": {
"name": "Mutation"
},
"subscriptionType": null,
"types": [......],
"directives": [.......]
}
}
Query master:path/schema.json Query refs/pull/8630/merge:path/schema.json from Got both sources Error: Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: { data: { __schema: [Object] } }.
Describe the bug
Whenever trying to use the Github Action, the jobs will fail with the following message, even though the introspection file DOES follow the rule:
To Reproduce Steps to reproduce the behavior: Run/Apply the configuration demonstrated on the
Environment
section and the error should be presentExpected behavior
Expected the process to either do nothing but exit in a success state or get a changelog if changes are present.
Environment:
EDIT: Adding a screenshot of the schema file (cannot share the file though, sorry)