go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.41k stars 1.3k forks source link

Feat: add SpiceDB validations #1125

Closed wscalf closed 1 year ago

wscalf commented 1 year ago

Fixes Or Enhances

Adds support for validating SpiceDB object ids, types, and permissions

Make sure that you've checked the boxes below before you submit PR:

@go-playground/validator-maintainers

coveralls commented 1 year ago

Coverage Status

coverage: 73.985% (+0.01%) from 73.972% when pulling 8e91f6fdcd20e23104992dcf5c20935827a686db on wscalf:add-spicedb-tags into bd1113d5c1901c5205fc0a7af031a11268ff13ee on go-playground:master.