usnistgov / metaschema

Documentation for and implementations of the metaschema modeling language
https://pages.nist.gov/metaschema/
Other
36 stars 19 forks source link

Spec for index constraint missing duplicate key processing requirements #549

Closed aj-stein-nist closed 8 months ago

aj-stein-nist commented 8 months ago

Describe the bug

Per discussion during pairing and code review with @david-waltermire today, the index constraint spec is missing processing requirements for when a processor encounters duplicate keys.

Who is the bug affecting?

Developers using the specs.

What is affected by this bug?

Writing a spec-conformant processor supporting syntax and semantics of all Metaschema constraints.

When does this occur?

Consistently

How do we replicate the issue?

  1. Review constraints docs specifically for index.

Expected behavior (i.e. solution)

Clear documentation on errors that should or should not occur during a key collision or conflict.

Other Comments

N/A