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

Multi-valued simple type validation #74

Merged

Conversation

s-andringa
Copy link

Hi @pond,

This one fixes an issue where a multi-valued string attribute did not accept an array of strings because validation of simple types didn't account for the multiValued property. We use such an attribute in a custom schema extension, and it should be possible within the specification. (There are even some standard attributes that are arrays of simple types, for instance referenceTypes.)

Thanks again,
Sjoerd

@s-andringa s-andringa changed the title Multi valued simple type validation Multi-valued simple type validation Oct 19, 2023
@s-andringa s-andringa force-pushed the multi-valued-simple-type-validation branch from a06a145 to c68a041 Compare October 19, 2023 12:43
@s-andringa s-andringa force-pushed the multi-valued-simple-type-validation branch from c68a041 to 92b5042 Compare October 19, 2023 12:45
@s-andringa
Copy link
Author

It's somewhat related to #55, where someone tried to define an attribute with type 'array'.

Copy link
Member

@pond pond left a comment

Choose a reason for hiding this comment

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

Great stuff. Thanks.

@pond pond merged commit 9114583 into RIPAGlobal:main Oct 23, 2023
4 checks passed
@pond
Copy link
Member

pond commented Nov 15, 2023

This is now available via RubyGems in v2.6.0 / v1.7.0.

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