Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

better-auth-convex@0.2.1

Patch Changes

  • bdb2151: Fix beforeCreate hook validation error

    Previously, the create mutation's input validator required all schema fields to be present, causing validation errors when beforeCreate hooks tried to add required fields like username.

    This fix makes all input fields optional during validation, allowing beforeCreate hooks to add or modify any required fields. The actual schema validation still occurs when inserting into the database, ensuring data integrity.

@zbeyens zbeyens merged commit c65c149 into main Sep 29, 2025
@zbeyens zbeyens deleted the changeset-release/main branch September 29, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants