-
-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
General Info
- I checked for similar bug report
- I am using the latest version
- I checked the troubleshooting page for similar problems
- I enabled logging and checked the logs
Version(s)
2.1.3
Target(s)
17 14
What happened? (include your code)
When I do a limit query for nested joins, an error occurs.
"'user_chats.chats.user_chats' is not an embedded resource in this request"
All because in PostgrestRequestBuilder class, referencedTable is wrapped in double quotes.
"\"$referencedTable\".limit."
And in this form the request is sent to the server.
This problem is not present in js, but it is present in kotlin library.
Sending a request in js library
&user_chats.chats.user_chats.limit=1
Sending a request in kotlin library
&"user_chats.chats.user_chats".limit=1
Replaying the request via REST, I simply removed the double quotes and the error disappeared.
Please fix the problem.
Really need to do limit for nested joins.
Steps To Reproduce (optional)
No response
Relevant log output (optional)
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working