In my project users can purchase credits and it'd be nice if I'd be able to store the current balance together with the user's profile. Just wondering if there are any plans to have such feature or not? I can make a feature request issue at Github if there are no such plan yet.
You have user preferences. Another option is having a database collection for that
In your case it will be better to have a collection with user data in order to avoid users from being able to falsify the amount of credits by modifying it
And updating such data through an appwrite function
As @D5 said, only add data in preference which the user should be allowed to change or the sort of that data that wouldn't affect the usecases much, otherwise a separate collection hooked with a function is good to go 🚀
The problem is that it will be used for balance as he said, it will not be the most ideal thing due to permissions, better using a collection for such use case 😅
Not at the moment but you can 👍 this issue: https://github.com/appwrite/appwrite/issues/4805
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- [Solved] how to get user prefs from serv...
i want to get a specific users preferences from serverside maybe i missunderstood something