openfga / api

Protocol Buffers used by OpenFGA
Apache License 2.0
19 stars 14 forks source link

fix: listobjects validation of parameters #37

Closed miparnisari closed 2 years ago

miparnisari commented 2 years ago

Description

This PR introduces length restrictions on the user, relation and type parameters of the ListObjects and StreamedListObjects APIs.

The validations for user and relation are the same as the ones for TupleKey.user and TupleKey.relation.

The validation for type is the same as the one for Object.type.

Review Checklist