Equivalent of StringInSlice in the framework

Do we have something like StringInSlice in the framework?

Hi @danielmkn :wave:

I believe that you could use either stringValidator.OneOf() or stringValidator.OneOfCaseInsensitive().

There’s some information in the docs regarding Validation and some of the pre-built common use case validators.

1 Like