v0.1.0-rc.3 - Read-only mode and changeset error mapping
·
38 commits
to main
since this release
What's Changed
Read-Only Mode (Issue #12)
- New option for macro
- When , only generates and tools
- Prevents create, update, destroy operations
- Perfect for public read-only access to data
Changeset Error Mapping (Issue #13)
- Enhanced error messages from Ecto changeset validations
- Automatic categorization of validation errors (presence, format, inclusion, etc.)
- Improved database error detection (unique_violation, foreign_key_violation, not_null_violation)
- Schema changeset integration using schema's function
Testing
- 193 tests (up from 172)
- 21 new tests: 16 for read-only mode, 6 for error mapping
- All tests passing
- Credo and Dialyzer clean