Inconsistent Update User Metadata API
smuriu opened this issue ยท 5 comments
For updates to user metadata, the user api expects input with the key data
.
Line 17 in 738272d
For updates to user metadata, the admin api expects input with the key user_metadata
.
Line 20 in 738272d
The user model will return user_metadata
.
Line 45 in 738272d
Perhaps we should adopt a uniform reference to user metadata. user_metadata
is less ambiguous/more descriptive than just data
especially considering that there is also an app_metadata
field in this api too.
thank you. i'm not the maintainer of this but i think a PR to fix this would be welcome.
we would need to have a solution that would not involve a breaking change. we cannot simply deprecate the data
field as it is used by a lot of people.
This issue has been automatically marked as stale because it has not had activity in 1 year. It will be closed in 7 days if no further activity occurs. Thanks!
This issue was closed because it had no activity for over 1 year.