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
Is your feature request related to a problem? Please describe
The maybeMap method from generated unions introduced a lot of issues in my recent projects. Union cases were added later on during development and were not processed in many places where maybeMap is used.
Describe the solution you'd like
I would like to deactivate the maybeMap method generation (with a build.yaml options?) to enforce all developers to process every state each time a new state is introduced in a union type.
Describe alternatives you've considered
We have considered adding a lint rule at the dev/CI level.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
The
maybeMap
method from generated unions introduced a lot of issues in my recent projects. Union cases were added later on during development and were not processed in many places wheremaybeMap
is used.Describe the solution you'd like
I would like to deactivate the
maybeMap
method generation (with abuild.yaml
options?) to enforce all developers to process every state each time a new state is introduced in a union type.Describe alternatives you've considered
We have considered adding a lint rule at the dev/CI level.
The text was updated successfully, but these errors were encountered: