amazon-ion / ion-schema-rust

Rust implementation of Ion Schema
https://amazon-ion.github.io/ion-schema/sandbox
Apache License 2.0
13 stars 6 forks source link

adds changes for `container_length` implementation #67

Closed desaikd closed 2 years ago

desaikd commented 2 years ago

Issue #9 #10

Description of changes: This PR works on adding implementation of container_length constraint.

Grammar:

<CONTAINER_LENGTH> ::= container_length: <INT>
                     | container_length: <RANGE<INT>>

Ion Schema specification: https://amzn.github.io/ion-schema/docs/spec.html#container_length

List of changes:

Tests: added unit tests for container_length implementation.

desaikd commented 2 years ago

Changes with commit https://github.com/amzn/ion-schema-rust/pull/67/commits/1a811a9f7165c37222e958457dc38e885bffaeb2: