Are there any plans to support nested attributes in collections? (eg: objects/json type attributes)
- 1
- General
- Databases
- Cloud
Currently, I have to flatten-out my data properties to be able to store them in Appwrite collections, but this quickly gets messy when I have to deal with objects that have many levels of nestedness.
I can stringify my objects to store them in a string-type attribute, but in doing so there is no way to set Appwrite-side type constraints on the nested properties.
For some cases, I've been able to turn some of the nested properties into relationships that point to collections where I can add type constraints for the attributes of the nested schema, but Appwrite relationships are constrained to a max depth of 3 levels, so I can't rely on them to represent deeper objects.
It's be great if we could define collection attributes to be of type 'json', and then specify a typed schema for the nested properties also. So, I was wondering if this has been considered, and if there are plans to implement that or similar functionality.
Thank you for reading. I appreciate any pointers ❤️
Are there any plans to support nested attributes in collections? (eg: objects/json type attributes)
Recommended threads
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...
- SPA Not working
So I'm using vite/react, which is spa, and it used to work before, but now whenever I go to any route except the root it shows appwrites 404 page, instead of us...
- Get Started - Web is broken
Trying to complete the get started tasks since the "66%" was finally getting to me, and clicked on "web", was met with: ``` Uncaught TypeError: Cannot read prop...