Skip to content
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

Metapath sequence cardinality test functions #280

Closed
3 of 6 tasks
david-waltermire opened this issue Dec 8, 2024 · 0 comments · Fixed by #281
Closed
3 of 6 tasks

Metapath sequence cardinality test functions #280

david-waltermire opened this issue Dec 8, 2024 · 0 comments · Fixed by #281
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@david-waltermire
Copy link
Contributor

david-waltermire commented Dec 8, 2024

User Story

As a Metapath author, I need the ability to test the cardinality of a sequence in a Metapath expression.

Goals

Add support for the functions that test the cardinality of sequences:

  • fn:zero-or-one Returns $arg if it contains zero or one items. Otherwise, raises an error.
  • fn:one-or-more Returns $arg if it contains one or more items. Otherwise, raises an error.
  • fn:exactly-one Returns $arg if it contains exactly one item. Otherwise, raises an error.

Dependencies

none

Acceptance Criteria

  • All website and readme documentation affected by the changes in this issue have been updated.
  • A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.

Revisions

No response

@david-waltermire david-waltermire added the enhancement New feature or request label Dec 8, 2024
@david-waltermire david-waltermire moved this from To Triage to In progress in Spec and Tooling Work Board Dec 8, 2024
david-waltermire added a commit to david-waltermire/metaschema-java that referenced this issue Dec 9, 2024
@david-waltermire david-waltermire moved this from In progress to In review in Spec and Tooling Work Board Dec 9, 2024
@david-waltermire david-waltermire added this to the v2.2.0 milestone Dec 9, 2024
@david-waltermire david-waltermire self-assigned this Dec 9, 2024
aj-stein-gsa pushed a commit to david-waltermire/metaschema-java that referenced this issue Dec 10, 2024
aj-stein-gsa pushed a commit that referenced this issue Dec 10, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in Spec and Tooling Work Board Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
1 participant