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

fix: metadata type limited to boolean, string or number #8

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

thomaspoignant
Copy link
Member

This PR changes the type for flag metadata.
The spec was referring to metadata as object, but if we follow the specification of metadata it says

flag metadata MUST be a structure supporting the definition of arbitrary properties, with keys of type string, and values of type boolean | string | number.

In this PR we limit the metadata with values of types string, number or boolean.

Copy link
Member

@lukas-reining lukas-reining left a comment

Choose a reason for hiding this comment

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

Looks good and as we discussed! :)

@thomaspoignant thomaspoignant merged commit cffd829 into main Mar 30, 2024
2 checks passed
@thomaspoignant thomaspoignant deleted the metadata-type branch March 30, 2024 18:39
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.

3 participants