Skip to content

Remove special case handling of annotation values #986

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

Merged
merged 1 commit into from
Sep 26, 2020

Conversation

handrews
Copy link
Contributor

@handrews handrews commented Sep 6, 2020

Fixes #906.

The approach of annotation keywords specifying combination rules
is not really compatible with the output format approach. It is
also a source of uncertainty in how to use and specify annotations.

This removes the concept. Note that "readOnly", "writeOnly", and
"deprecated" still advise applications on how to handle multiple
values. However, the wording is purely in terms of application
handling and not in terms of aggregating the values, so no change
to the validation spec is necessary.

The approach of annotation keywords specifying combination rules
is not really compatible with the output format approach.  It is
also a source of uncertainty in how to use and specify annotations.

This removes the concept.  Note that "readOnly", "writeOnly", and
"deprecated" still advise applications on how to handle multiple
values.  However, the wording is purely in terms of application
handling and not in terms of aggregating the values, so no change
to the validation spec is necessary.
@Relequestual Relequestual merged commit 08da2d1 into json-schema-org:master Sep 26, 2020
@handrews handrews deleted the mult-annot branch September 28, 2020 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop the idea of automatically combining annotations
2 participants