Skip to content

Feat: implement native DB constraints, runtime validations, and pre-execution validation checks - #19

Merged
VoidClancy merged 2 commits into
masterfrom
validation
Jul 6, 2026
Merged

Feat: implement native DB constraints, runtime validations, and pre-execution validation checks#19
VoidClancy merged 2 commits into
masterfrom
validation

Conversation

@VoidClancy

Copy link
Copy Markdown
Owner

1- Add FieldError and ValidationError custom types to handle aggregated validation errors

2- Add automatic pre-execution checks for non-null strings (null-bytes \x00 and valid UTF-8)

3- Implement native database constraints, length limits for VarChar/Char and range limits for smallInt/tinyInt

4- Add generator unit test for native DB constraints validation logic

5- Update client selection logic to treat empty Select{} as a select all

6- Add validation_test.go to...test validation?

…xecution validation checks

1- Add FieldError and ValidationError custom types to handle aggregated validation errors

2- Add automatic pre-execution checks for non-null strings (null-bytes \x00 and valid UTF-8)

3- Implement native database constraints, length limits for VarChar/Char and range limits for smallInt/tinyInt

4- Add generator unit test for native DB constraints validation logic

5- Update client selection logic to treat empty Select{} as a select all

6- Add validation_test.go to...test validation?
@VoidClancy VoidClancy self-assigned this Jul 6, 2026
…syntaxes instead of just sqlite to assert result (i need to implement the reads)
@VoidClancy
VoidClancy merged commit 2ad9169 into master Jul 6, 2026
3 checks passed
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.

1 participant