Allow users to specify rule min/max treatment#689
Allow users to specify rule min/max treatment#689schnuerle merged 2 commits intoopenmobilityfoundation:devfrom
Conversation
MDS does not currently specify whether Policy Rule minimum and maximum values are considered within bounds when evaluating whether something matches the rule (in other words, whether the rule bounds are a open, closed, or half-open interval). This PR adds new fields to Policy Rules that allow users to individually specify the treatment of the minimum and maximum values. The new fields are called inclusive_minimum and inclusive_maximum. They are boolean fields that both default to true.
|
On the MDS call today (2021-09-09) Zack Bouz (LADOT) raised the point that rule |
|
However, the question is really not whether the rule |
|
Per the working group action items, here is the schema template location for policy which needs to be updated. The templates generate the files during the release creation. |
Explain pull request
MDS does not currently specify whether Policy Rule
minimumandmaximumvalues are considered within bounds when evaluating whether something matches the rule (in other words, whether the rule bounds are a open, closed, or half-open interval). This PR adds new fields to Policy Rules that allow users to individually specify the treatment of theminimumandmaximumvalues.The new fields are called
inclusive_minimumandinclusive_maximum. They are boolean fields that both default to true.Is this a breaking change
I don't think this is breaking, but it does define that by default rule
minimumandmaximumare considered within the rule bounds, which could potentially break interpretation of existing policy rules.Impacted Spec
policyAdditional context
This is an alternative PR to #677, we should pick one or the other.