-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Error when selecting nested resource with POST #1576
Comments
The problem is here: That selects This should already be fixed as part of #1475: postgrest/src/PostgREST/DbRequestBuilder.hs Lines 328 to 331 in bd2160d
However that's not released yet. In the meantime you'll have to make it a |
Thanks for a very quick response. The suggested workaround works. I suppose the issue should remain open until it's fixed but feel free to close it. |
I think we can close this, because we have released it as a nightly already. |
Environment
postgres:12.4
postgrest/postgrest:v7.0.1
Description of issue
I have a schema like this:
The following request:
Results in the following response:
The error from the PostgreSQL is:
I've carefully handcrafted the above snippets from a more complex application. If it proves hard to reproduce I'll take more effort and prepare an SSCCE.
The text was updated successfully, but these errors were encountered: