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
An error occurs when generating diff between 2 schema when a response changes from an ObjectTypeDefinition to an InterfaceTypeDefinition even if both response contains the exact same fields. The graphql query we made before and after the change on this response worked as expected. This should not be an error.
To Reproduce
Steps to reproduce the behavior:
Generate a schema with a graphql response containing an ObjectTypeDefinition
Generate the same schema changing the response to an InterfaceTypeDefinition with the exact same fields
Generate a diff using this tool
An error is reported by the tool
Expected behavior
No error should be reported if the change does not impact any queries made before the newest change.
Environment:
OS: Debian GNU/Linux
@graphql-inspector/...: 2.3.0
graphql: 1.3.72
NodeJS: v12.19.0
The text was updated successfully, but these errors were encountered:
gabsima-nexapp
changed the title
ObjectTypeDefinition to InterfaceTypeDefinition creates error event if the fields are the same
ObjectTypeDefinition to InterfaceTypeDefinition creates error even if the fields are the same
Nov 12, 2020
Describe the bug
An error occurs when generating diff between 2 schema when a response changes from an ObjectTypeDefinition to an InterfaceTypeDefinition even if both response contains the exact same fields. The graphql query we made before and after the change on this response worked as expected. This should not be an error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be reported if the change does not impact any queries made before the newest change.
Environment:
@graphql-inspector/...
: 2.3.0graphql
: 1.3.72The text was updated successfully, but these errors were encountered: