Skip to content

Allow zod schema for inferAdditionalFields #5854

@CamilleHbp

Description

@CamilleHbp

Is this suited for github?

  • Yes, this is suited for github

Is your feature request related to a problem? Please describe.

Currently, we either have to have a monorepo, or type the better-auth function manuallly in all clients.

Describe the solution you'd like

It would be really interesting to allow the use of a zod schema for this function. Better-auth uses zod internally. Is there any reason this is not possible? Thank you! 🙏

Describe alternatives you've considered

Using another library? 🤔

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvementlockedLocked conversations after being closed for 7 days

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions