Skip to content

Fix/slice cardinality validation#642

Merged
ewoutkramer merged 8 commits intodevelopfrom
fix/slice-cardinality-validation
Mar 12, 2026
Merged

Fix/slice cardinality validation#642
ewoutkramer merged 8 commits intodevelopfrom
fix/slice-cardinality-validation

Conversation

@abelenthoven
Copy link
Copy Markdown
Contributor

There was a problem with checking slices of a primitive type (string, in this case). These slices carry a cardinality for the value, which is applied to the collection because there is no hierarchical difference between collection and value. The solution is to actively remove the cardinality check for value. That is not a problem, since it is already 1..1 bound to the item

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

abelenthoven and others added 6 commits March 11, 2026 15:38
…leArtifactSource.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…maBuilderTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…idationsTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ewoutkramer ewoutkramer merged commit 7178d5b into develop Mar 12, 2026
2 checks passed
@ewoutkramer ewoutkramer deleted the fix/slice-cardinality-validation branch March 12, 2026 14:39
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.

3 participants