fabbricadigitale / scimd

SCIM v2 golang implementation
MIT License
5 stars 1 forks source link

Enforce that attribute names match the rules #23

Closed leodido closed 6 years ago

leodido commented 6 years ago

Hey @samechelon, use the custom validator attrname to validate that the attribute names respect the rules.

So you have to populate with validate:attrname the structs that require it.

Pay attention that for non scalar fields you have to use special keywords provided by the go-validator library (eg., dive).

When you've done with this first sub-task, please provide the tests. Note that tests for resource structs already exists, so augment them.

FYI @leogr