-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError in validateTypeImplementsInterface #2504
Comments
@IvanGoncharov anything I could help you with solving this issue? it's blocking me with releasing new version 😕 |
Hi @MichalLytek @IvanGoncharov I've traced the error and found that it's because of this change in In So the question is do we need Solution 1: Solution 2: I notice that |
@josephktcheung
At least that's how it was working in v14 - when no |
@MichalLytek I agree. From definition While we wait for |
In TypeGraphQL I have a test case for throwing an error when object type field type doesn't match with the interface one, like:
After upgrading to
v15.0.0
, it now throws this error:What I am doing to validate that is to execute the introspection query against the built schema.
In
v14.x
it was throwing a normalGraphQLError
with a detailed info about this invalid interface implementation.The text was updated successfully, but these errors were encountered: