Relationship fields returning "$sequence" key when field was not requested (Query.select)
- 0
- Cloud

It looks like today something changed in the backend, I have a project that has certain collections only accessible to teams with specific permissions. Sometimes, these collections are linked to other collections via relationships, so in my client side code I am not selecting the field to be returned when the user doesn't have the permission based on their team. However, now I am seeing even though I did not select the field to be returned, appwrite still returns the following:
"relationship_field": {"$sequence": 0}
This is causing my app to throw errors because it tries to parse this into an object but doesn't have any of the fields it is expecting. Of course I can fix and account for this on my side but not sure if this is intended behavior now.
Previously it would either return null or just an empty structure when not requesting that field

Fyi, relationships are experimental and should be used with caution as they may lead to performance issues and the behavior/API may change

So you're not selecting the relationship_field
but it's being returned?
Recommended threads
- Appwrite Sites and localStorage Problem ...
I'm currently struggling with the localStorage Problem and Custom Sites. My goal is to move our Flutter Web App to Appwrite Sites. When just deploying it I'm ...
- Cloud Functions Executions partially dow...
Yesterday we reported a wide Function-Downtime. Today we have the same - just not wide-spread across all functions. DEV is down - Prod still working. Its the s...
- Unable to access certain projects after ...
As attached, after upgrading to pro and relogin to the appwrite console, for certain projects I am met with the 401 error although I am the owner of the organiz...
