Closed desaikd closed 2 years ago
Issue #9 #10
Description of changes: This PR works on adding implementation of byte_length and codepoint_length constraint.
byte_length
codepoint_length
Grammar:
<BYTE_LENGTH> ::= byte_length: <INT> | byte_length: <RANGE<INT>> <CODEPOINT_LENGTH> ::= codepoint_length: <INT> | codepoint_length: <RANGE<INT>>
Ion Schema specification: https://amzn.github.io/ion-schema/docs/spec.html#byte_length https://amzn.github.io/ion-schema/docs/spec.html#codepoint_length
List of changes:
IslConstraint::CodePointLength
IslConstraint::ByteLength
Constraint::CodePointLength
Constraint::ByteLength
Tests: added unit tests for byte_length and codepoint_length implementation.
Issue #9 #10
Description of changes: This PR works on adding implementation of
byte_length
andcodepoint_length
constraint.Grammar:
Ion Schema specification: https://amzn.github.io/ion-schema/docs/spec.html#byte_length https://amzn.github.io/ion-schema/docs/spec.html#codepoint_length
List of changes:
IslConstraint::CodePointLength
andIslConstraint::ByteLength
enum variantsConstraint::CodePointLength
andConstraint::ByteLength
enum variantsbyte_length
andcodepoint_length
constraintbyte_length
andcodepoint_length
constraintTests: added unit tests for
byte_length
andcodepoint_length
implementation.byte_length
andcodepoint_length
constraintbyte_length
andcodepoint_length
constraintbyte_length
andcodepoint_length
constraint