Skip to content
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

🐛 Bug Report: #8386

Closed
1 of 2 tasks
amrouz opened this issue Jul 12, 2024 · 1 comment
Closed
1 of 2 tasks

🐛 Bug Report: #8386

amrouz opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@amrouz
Copy link

amrouz commented Jul 12, 2024

👟 Reproduction steps

When I wanted to retreive some attribute from a collection so I used Query.select(['attr-1', 'attr-2', 'attr-3']), and among its attributes there is a relationships. so the API returns an AppwriteException.

  • The issue is: when one attribute in Query.select(['attr-1', 'attr-2', 'attr-3']) is a relationship attibute the API return an AppwriteException.
  • Tthe AppwriteException says: ERROR AppwriteException: Invalid query: Attribute not found in schema at Client.

👍 Expected behavior

It should retreive even the relashipship attribute since it belong to the collection schema

👎 Actual Behavior

...

🎲 Appwrite version

Version 1.5.x

💻 Operating system

Linux

🧱 Your Environment

Googe cloud machine engine

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@amrouz amrouz added the bug Something isn't working label Jul 12, 2024
@ItzNotABug
Copy link
Contributor

Query isn't supported against relationship attributes at the moment.

@stnguyen90 stnguyen90 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants