Outdated documentation for organization plugin #1087

Closed
opened 2026-03-13 08:21:52 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @tintinthedev on GitHub (Apr 20, 2025).

Image

Shouldn't the metadata type be Object instead of string?

I'm reporting here, and not opening a PR to fix it, because I'm not really sure. I mean, I use it as an object, so that's why I'm asking

Originally created by @tintinthedev on GitHub (Apr 20, 2025). ![Image](https://github.com/user-attachments/assets/96a300f3-d6be-4c6e-a8e9-2b34da888e45) Shouldn't the `metadata` type be `Object` instead of `string`? I'm reporting here, and not opening a PR to fix it, because I'm not really sure. I mean, I use it as an object, so that's why I'm asking
Author
Owner

@Kinfe123 commented on GitHub (Apr 21, 2025):

It is meant to be string since metadata provides flexibility and ensures the field can store complex structures by stringifying your object and parse it later when needed.

@Kinfe123 commented on GitHub (Apr 21, 2025): It is meant to be string since metadata provides flexibility and ensures the field can store complex structures by stringifying your object and parse it later when needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1087