I'm not really a fan of the current validation modes names: ```swift form.makeFieldset(inValidationMode: .all) form.makeFieldset(inValidationMode: .none) form.makeFieldset(inValidationMode: .nonNil) ``` (The same holds for the `validate` method.) One alternative could be to remove the argument label: ```swift form.makeFieldset(.all) form.makeFieldset(.none) form.makeFieldset(.nonNil) ``` or be a bit more explicit: ```swift form.makeFieldset(validating: .allFields) form.makeFieldset(validating: .noFields) form.makeFieldset(validating: .onlyNonNilFields) ``` or change the names in such a way that they describe the typical use cases: ```swift form.makeFieldset(.forNewEntity) form.makeFieldset(.noEmptyEntity) form.makeFieldset(.forUpdatedEntity) ``` @steffendsommer @BrettRToomey @MartinLasek what do you think?
I'm not really a fan of the current validation modes names:
(The same holds for the
validatemethod.)One alternative could be to remove the argument label:
or be a bit more explicit:
or change the names in such a way that they describe the typical use cases:
@steffendsommer @BrettRToomey @martinlasek what do you think?