Replies: 2 comments
-
The custom data property can be set using a REST API.
It could well be a generic but as it works now, you need to pick out the data property from currentUser and cast it manually.
It depends on the use case. The 'members' table were initially thought of as a per-realm user, but the need of a common user table has grown and the plan is to extend it to adapt to the use cases we are seeing. We're open to feedback in this regard. |
Beta Was this translation helpful? Give feedback.
-
|
Hmm, I see. Building out a rest client to fetch/validate/expire tokens just to make this one call so that a user can update their profile seemed like too much work. I built a second Would have been convenient if there was a built-in way to call |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using dexie cloud with zero-config auth, how do we set the custom
dataproperty for the user?Furthermore, how can you update the TS types to include the properties? The
UserLogintype should probably accept a genericIs any of this possible today? Are users expect to implement their own
userstable (on top ofmembersandcurrentUser)?Beta Was this translation helpful? Give feedback.
All reactions