You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fpagnoux
changed the title
Add a mandatory attribute to entities's roles
Set max and min amount of person with a given role in entities specification
Nov 5, 2018
As a country package maintainer, I'd like to be able to specify, for each role of an entity:
Currently, I can specify a
max
but it doesn't work well: if I send to many people with this role, I get a very non-explicit error:There is no way right now to specify that a role is mandatory.
Suggestion:
max
of a role, and send a nice error message when a user tries to send moremin
properties of role, and handle it the same way(I have a slight preference for
min
overmandatory
as it's more consistent withmax
and a little more versatile, but up to debate)The text was updated successfully, but these errors were encountered: