Skip to content

Conversation

r1tsuu
Copy link
Member

@r1tsuu r1tsuu commented Nov 4, 2024

What?

Fixes the issue with querying by id from REST / overrideAccess: false.
For example, this didn't work:
/api/loans?where[book.bibliography.id][equals]=67224d74257b3f2acddc75f4

QueryError: The following path cannot be queried: id

Why?

We support this syntax within the Local API.

How?

Now, for simplicity we sanitize everything like relation.otherRelation.id to relation.otherRelation

Fixes #9008

r1tsuu added a commit that referenced this pull request Nov 4, 2024
@r1tsuu r1tsuu merged commit 5b97ac1 into beta Nov 4, 2024
55 checks passed
@r1tsuu r1tsuu deleted the fix/query-by-id branch November 4, 2024 15:57
Copy link
Contributor

github-actions bot commented Nov 4, 2024

🚀 This is included in version v3.0.0-beta.124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Depth 2 relationship id, application crash
2 participants