mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
beb6ebad50
* test(core): update the resouce response guard and integration tests update the resource response guard and integration tests * fix(test): fix test fix resource test * fix(schemas): add non-empty string type guard (#3826) * fix(schemas): add non-empty zod guard to the string typed schema field add non-empty zod guard to the string typed schema field * fix(schemas): comment out non-empty string guard comment our non-empty string guard for now * chore: add change set add change set * fix(schemas): remove the guard if has default value remove the guard if has default value * refactor(core): replace zod merge using zod extend replace zod merge using zod extend
233 B
233 B
@logto/schemas |
---|
patch |
Add min length 1 type guard for all string typed db schema fields
Update the @logto/schemas
zod guard generation method to include a min length of 1 for all the required string typed db fields.