v0.2.1
Patch Changes
-
bdb2151: Fix beforeCreate hook validation error
Previously, the
createmutation's input validator required all schema fields to be present, causing validation errors whenbeforeCreatehooks tried to add required fields likeusername.This fix makes all input fields optional during validation, allowing
beforeCreatehooks to add or modify any required fields. The actual schema validation still occurs when inserting into the database, ensuring data integrity.