Skip to content

Allow float type in schema validation#23

Merged
CoolCat467 merged 4 commits intoCoolCat467:mainfrom
thorminate:fix-float-recognition-in-schema
Feb 9, 2026
Merged

Allow float type in schema validation#23
CoolCat467 merged 4 commits intoCoolCat467:mainfrom
thorminate:fix-float-recognition-in-schema

Conversation

@thorminate
Copy link
Contributor

having for example a schema with a minimum property and it being a float causes an error, this (hopefully) fixes that.

Copy link
Owner

@CoolCat467 CoolCat467 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you could change the unit tests to make sure we don't have a regression in the future that would be great, otherwise looks good.

i.e. add new unit test(s) that test added float functionality.

@CoolCat467 CoolCat467 changed the title allow float type in schema validation Allow float type in schema validation Feb 8, 2026
@thorminate
Copy link
Contributor Author

If you could change the unit tests to make sure we don't have a regression in the future that would be great, otherwise looks good.

i.e. add new unit test(s) that test added float functionality.

I added a test for large schemas

Copy link
Owner

@CoolCat467 CoolCat467 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks!

@CoolCat467 CoolCat467 merged commit 3df0ddb into CoolCat467:main Feb 9, 2026
23 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.

2 participants