Open rhamzeh opened 4 months ago
As a user, I'd like to be able to get the response headers when using OpenFgaClient
OpenFgaClient
OpenFgaClient responses should have the equivalent of the following methods (naming as appropriate per language):
GetHeaders()
GetRawResponse()
Batch Methods such as non transactional Write and BatchCheck would have these methods on individual responses.
Write
BatchCheck
When possible, we should add these on the methods exposed by OpenFgaApi directly
OpenFgaApi
No response
Checklist
Describe the problem you'd like to have solved
As a user, I'd like to be able to get the response headers when using
OpenFgaClient
Describe the ideal solution
OpenFgaClient
responses should have the equivalent of the following methods (naming as appropriate per language):GetHeaders()
: Allows the user to get the response headersGetRawResponse()
: Allows the user to get the raw responseBatch Methods such as non transactional
Write
andBatchCheck
would have these methods on individual responses.When possible, we should add these on the methods exposed by
OpenFgaApi
directlyAlternatives and current workarounds
No response
References
Additional context
No response