openfga / sdk-generator

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

Provide methods to get the headers and raw response from `OpenFgaClient` methods #323

Open rhamzeh opened 4 months ago

rhamzeh commented 4 months ago

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):

Batch Methods such as non transactional Write and BatchCheck would have these methods on individual responses.

When possible, we should add these on the methods exposed by OpenFgaApi directly

Alternatives and current workarounds

No response

References

Additional context

No response