Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate UFOv3 field values where appropriate #20

Open
epilys opened this issue Mar 8, 2023 · 0 comments
Open

Validate UFOv3 field values where appropriate #20

epilys opened this issue Mar 8, 2023 · 0 comments
Labels
easy good first issue Good for newcomers
Milestone

Comments

@epilys
Copy link
Owner

epilys commented Mar 8, 2023

Some UFOv3 fields can have only specific values (for example, lists of bit flags with specific values or lists with specific length).

These can be implemented as serde's deserialize_with field attributes. There are already similar examples in the ufo module [0]

[0]: example

#[serde(serialize_with = "smooth_serialize")]

@epilys epilys added good first issue Good for newcomers easy labels Mar 8, 2023
@epilys epilys changed the title Validate UFOv3 field values when appropriate Validate UFOv3 field values where appropriate Mar 9, 2023
@epilys epilys added this to the v0.0.2-alpha milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant