Skip to content

fix Enum validation#16

Merged
bentsku merged 3 commits intomainfrom
fix-enum-validation
Feb 6, 2026
Merged

fix Enum validation#16
bentsku merged 3 commits intomainfrom
fix-enum-validation

Conversation

@bentsku
Copy link

@bentsku bentsku commented Feb 5, 2026

We had an issue with Enum symbols which would contain ..

This is because the base avro validation also use the validation for validating full names, which allow . characters.

I've used the same validation as fastavro, as this is what we use to encode/decode data, to make sure the validation will pass 👍

Also fixed a test due to CI error which probably stem from an update in packaging.version: class PyType(packaging.version.Version, str): ... has a type conflict

@bentsku bentsku requested a review from giograno February 5, 2026 19:25
@bentsku bentsku force-pushed the fix-enum-validation branch from 4fdc8c1 to 94b26a3 Compare February 5, 2026 19:36
Copy link
Member

@giograno giograno left a comment

Choose a reason for hiding this comment

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

Nice one :D kudos for removing packaging as well.

@bentsku bentsku merged commit 5196d22 into main Feb 6, 2026
6 checks passed
@bentsku bentsku deleted the fix-enum-validation branch February 12, 2026 11:14
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

Comments