Send Client Method and Bulk ID headers for relevant OpenFGAClient
methods
#142
Labels
enhancement
New feature or request
OpenFGAClient
methods
#142
Checklist
Describe the problem you'd like to have solved
In our other SDKs, we send the following headers from certain methods:
X-OpenFGA-Client-Method
- This represents the method name in the SDKReadLatestAuthorizationModel
,Write
,WriteTuples
,DeleteTuples
,BatchCheck
,ListRelations
X-OpenFGA-Client-Bulk-Request-Id
- This is a shared UUID for SDK methods that make multiple requestsListRelations
,BatchCheck
, andWrite
callsThis should be sent by the associated methods in the Go SDK also
Describe the ideal solution
The Go SDK is updated to support passing these headers from the required methods.
This may require changes to the
OpenFGAAPI
to support passing in the header values, and ideally should be done without any breaking changes to theOpenFGAAPI
Alternatives and current workarounds
No response
References
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: