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 SDK
- This can have the following values,
ReadLatestAuthorizationModel, Write, WriteTuples, DeleteTuples, BatchCheck, ListRelations
X-OpenFGA-Client-Bulk-Request-Id - This is a shared UUID for SDK methods that make multiple requests
- This is sent on
ListRelations, BatchCheck, and Write calls
This 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 the OpenFGAAPI
Alternatives and current workarounds
No response
References
No response
Additional context
No response
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,ListRelationsX-OpenFGA-Client-Bulk-Request-Id- This is a shared UUID for SDK methods that make multiple requestsListRelations,BatchCheck, andWritecallsThis 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
OpenFGAAPIto support passing in the header values, and ideally should be done without any breaking changes to theOpenFGAAPIAlternatives and current workarounds
No response
References
No response
Additional context
No response