openfga/sdk-generator

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

rhamzeh opened this issue · 3 comments

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

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

Closing as all SDKs no longer call this or never did

Reopening as python still needs to be done

Python changes shipping with 0.5.0