Closed iamohd-zz closed 3 years ago
Hey,
Thanks for this idea! 🙏 Real good one.
But in that way the possibility that it's conflicting with a users enum values is too high. 😔
We have several toXyz()
methods already. I think that a toRule()
method is same useful but less conflicting!? Could you rename it?
@Gummibeer That's right, it's renamed. Thanks
This PR will make setting enum rules cleaner.
It allows to do the following:
instead of doing this