Skip to content

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

Open

Description

@garethsb

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions