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

[BCP-004-01/BCP-006-01] Warn about unlikely constraint_sets #771

Open
garethsb opened this issue Mar 14, 2023 · 0 comments
Open

[BCP-004-01/BCP-006-01] Warn about unlikely constraint_sets #771

garethsb opened this issue Mar 14, 2023 · 0 comments

Comments

@garethsb
Copy link
Contributor

Generally we expect each entry in the constraint_sets to use the same Parameter Constraints, or at least, not to all use a single different Parameter Constraint.

So this is unlikely to be correct:

"constraint_sets": [
  {
    "param1": { ... }
  },
  {
    "param2": { ... }
  },
  {
    "param3": { ... }
  }
]

Probably this was intended:

"constraint_sets": [
  {
    "param1": { ... },
    "param2": { ... },
    "param3": { ... }
  }
]

Can we capture that as a test case somehow?

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

No branches or pull requests

1 participant