You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, many of the SDKs treat errors from the underlying checks (after retrying) as a falsy value. So if after 3 retries, check returned 500, ListRelations would treat it as allowed=false.
This is incorrect behaviour and ListRelations should surface any errors to the user.
Currently, many of the SDKs treat errors from the underlying checks (after retrying) as a falsy value. So if after 3 retries, check returned 500, ListRelations would treat it as
allowed=false
.This is incorrect behaviour and ListRelations should surface any errors to the user.
For reference, the JS SDK was fixed in openfga/js-sdk#32
Relevant files to be changed: https://github.com/openfga/python-sdk/blob/main/openfga_sdk/client/client.py#L973
On first error encountered, return that.
The text was updated successfully, but these errors were encountered: