Skip to content

Adds checks for annotation wrappers with length 0.#920

Merged
tgregg merged 1 commit intomasterfrom
check-annotation-length-0
Aug 6, 2024
Merged

Adds checks for annotation wrappers with length 0.#920
tgregg merged 1 commit intomasterfrom
check-annotation-length-0

Conversation

@tgregg
Copy link
Contributor

@tgregg tgregg commented Aug 5, 2024

Description of changes:
According to the Ion spec, annotation wrappers must wrap a value. This change allows for cleaner failure (via IonException) when this is violated.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tgregg tgregg merged commit 86861f9 into master Aug 6, 2024
@tgregg tgregg deleted the check-annotation-length-0 branch August 6, 2024 17:03
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