-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
In User
model, fromMap()
and toMap()
methods do not share exact opposite logic for prefs
mapping. When you convert a User
object to a Map
, you would also expect to be able to re-convert that Map
to User
using fromMap
method. It does not do that right now for the prefs
field.
I created this PR to fix this issue, but apparently it does not allow us to create PRs here, so it's automatically closed. I also checked the sdk generator repo, but I don't have time to understand how it works to fix this minor mapping issue.
👍 Expected behavior
In User
model, fromMap()
and toMap()
methods need to share exact opposite logic for prefs
mapping.
👎 Actual Behavior
In User
model, fromMap()
and toMap()
methods do not share exact opposite logic for prefs
mapping.
🎲 Appwrite version
Version 2.0.x
💻 Operating system
Windows
🧱 Your Environment
No response
👀 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?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working