canonical / ofga

A wrapper library over the default OpenFGA client, packed with convenience methods for interacting with OpenFGA instances.
GNU Lesser General Public License v3.0
8 stars 4 forks source link

Add support for option functions to `CheckRelation` #9

Closed babakks closed 1 year ago

babakks commented 1 year ago

Description

In JIMM, we sometimes need to enable the trace option when calling the CheckRelation method. To have this option and keep the library compatible with its earlier version, this PR adds support for option functions to CheckRelation method. Also a pre-defined EnableTrace option function is added.

Engineering checklist

Check only items that apply

Merging instructions

The preferred way of merging:

babakks commented 1 year ago

@alesstimec @frankban @aaronalphonso @pandrey2003 I close this PR, since we finally decided to go with a simpler approach. Thank you guys for your comments. :heart: