-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Fix #17875 - Missing schema in validateQuery after upgrading to v4.13.1 #17895
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
Fix #17875 - Missing schema in validateQuery after upgrading to v4.13.1 #17895
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressed.
Creating an internal branch to be able to release experimental
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
A silly mistake from our side
|
I am generating an experimental version so users can test with it: https://github.com/strapi/strapi/actions/runs/6051019399 |
|
Experimental Version: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested the experimental and it works properly.
|
This issue should have been prevented with proper TypeScript setup... |
|
you are a live saver, thanks a lot! |
|
This pull request has been mentioned on Strapi Community Forum. There might be relevant details there: https://forum.strapi.io/t/4-13-1-graphql-error-missing-schema-in-validatequery-for-images/31743/2 |
|
Thanks for fixing this quick 👏 |
What does it do?
There's a typo, causing validateQuery to fail for queries containing media file references.
Why is it needed?
Fix the error
Missing schema in validateQuery.How to test it?
Query for any entity that has a media file relation field and include the file in the attributes.
Related issue(s)/PR(s)
fixes #17875