scalapb.validate.validate
Type members
Classlikes
- Companion
- object
- Value Params
- skipUniqueCheck
not implemented yet
- Companion
- object
- Companion
- class
- Value Params
- catsTransforms
transform to non-empty map, list and set.
- skip
Set
skip
to true to avoid generating validators for this file. This option is also useful to be set a package-scoped option for third-party protos that do not come with validator classes and your messages reference them.- uniqueToSet
The following options inject field transformations in the proto they are defined on. In order to take effect, scalapb-validate's preprocessor need to be enabled in the same file where these options are set. Example: import "scalapb/validate.proto"; import "scalapb/scalapb.proto"; option (scalapb.options) = { scope : PACKAGE // makes the FieldTransformations available for the entire package preprocessors : [ "scalapb-validate-preprocessor" ] [scalapb.validate.file] { cats_transforms : true unique_to_set : true } } transform "repeated.unique: true" to sets.
- Companion
- object
- Companion
- class
Falls back on file validation options (where default exists)
Falls back on file validation options (where default exists)
- Companion
- object
- Companion
- class