-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Actions openapi spec POST / PATCH / DELETE freeze #9817
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
Comments
Thanks for reporting with the openAPI schema. We are looking into it. |
Hello @MichalNemec |
Hello @Varun-Choudhary |
Hey @MichalNemec, still I'm facing issues with importing the OpenAPI spec, could also validate it here . It'll be good if you can share the complete spec with me. |
Hey @MichalNemec,
Glad that you were able to find a solution here, looks like the issue was caused by an OpenAPI spec which had a cyclic dependency- though it is possible (from JSON schema PoV) to define cyclic dependency, it won't be able to generate any schema out of it and hence is considered invalid. If you are interested to know more, there is a related discussion here in the OAS official repo and I think from Hasura side, we can probably add an additional error check to identify the circular dependency and throw a better error for clarity- however the actual fix would still be needed to be done on the OpenAPI schema. Closing this issue now - considering the issue is with the OAS file, feel free to re-open if you still face issue on the same. |
Uh oh!
There was an error while loading. Please reload this page.
Version Information
Server Version: v2.31.0
CLI Version (for CLI related issue): v2.31.0
Environment
Self hosted linux
What is the current behaviour?
Whenever i click create, the whole console freezes.
EDIT: some of endpoints say Maximum call stack size exceeded
What is the expected behaviour?
to not freeze and add the endpoint correctly.
Screenshots
How to reproduce the issue?
Please provide any traces or logs that could help here.
no log whatsoever, docker logs -f <CONT_ID> says only v1 metadata and healtz
Any possible solutions/workarounds you're aware of?
not really.
Keywords
actions freeze post delete patch
The text was updated successfully, but these errors were encountered: