openfga / sdk-generator

OpenFGA Client SDK Generator
Apache License 2.0
16 stars 38 forks source link

[All SDKs] Remove `ReadAuthorizationModel` call in `BatchCheck` #314

Closed rhamzeh closed 3 months ago

rhamzeh commented 7 months ago

Some (not all) SDKs call ReadAuthorizationModel, before checks in BatchCheck.

We need to remove that and replace that with better error handling where we exit early in cases of 401s instead of repeatedly calling check unnecessarily

aaguiarz commented 7 months ago

Please let's start by addressing it in the Javascript SDK

ewanharris commented 5 months ago

~Closing as all SDKs no longer call this or never did~

Reopening as python still needs to be done

evansims commented 3 months ago

Python changes shipping with 0.5.0