Removes the StoreId from the API client, and instead accept the StoreId as a parameter. As discussed in #118, this allows for the removal of the custom patch. A follow-on PR will enable overriding the StoreId per request as we do for the AuthorizationModelId.
If using api_open_fga.go directly, you will now need to pass the StoreId parameter.
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[ ] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected
Description
⚠️ Breaking change ⚠️
Removes the StoreId from the API client, and instead accept the
StoreId
as a parameter. As discussed in #118, this allows for the removal of the custom patch. A follow-on PR will enable overriding theStoreId
per request as we do for theAuthorizationModelId
.If using
api_open_fga.go
directly, you will now need to pass theStoreId
parameter.References
118
Review Checklist
main