openfga / sdk-generator

OpenFGA Client SDK Generator
Apache License 2.0
14 stars 30 forks source link

feat(go-sdk)!: remove StoreId from API client config #359

Closed jimmyjames closed 1 month ago

jimmyjames commented 1 month ago

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 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.

References

118

Review Checklist

jimmyjames commented 1 month ago

java-sdk test failures are not related to this change; #361 to fix