contrib icon indicating copy to clipboard operation
contrib copied to clipboard

Support for limiting operations by field

Open nadeemc opened this issue 1 year ago • 5 comments

Hi!

The goal of this PR is to be able to limit the predicates generated by field.

This was motivated by the fact that some fields, e.g. slug, should have less flexibility on how they are filtered, i.e. slug and slugIn as the only predicates instead of slugNEQ, slugNotIn, etc.

Linted using golangci-lint. Tests updated and passed for using the AllowedOps annotation on the username field.

nadeemc avatar Feb 04 '24 06:02 nadeemc