Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 6 tasks
rhamzeh opened this issue Mar 4, 2024 · 0 comments
Open
1 of 6 tasks
Labels
dotnet-sdk Affects the C#/DotNet SDK enhancement New feature or request go-sdk Affects the Go SDK java-sdk Affects the Java/Kotlin SDK js-sdk Affects the JavaScript SDK python-sdk Affects the Python SDK

Comments

@rhamzeh
Copy link
Member

rhamzeh commented Mar 4, 2024

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 headers
  • GetRawResponse(): Allows the user to get the raw response

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

@rhamzeh rhamzeh added the enhancement New feature or request label Mar 4, 2024
@rhamzeh rhamzeh moved this from Backlog to Ready in SDKs and Tooling Mar 4, 2024
@rhamzeh rhamzeh added go-sdk Affects the Go SDK dotnet-sdk Affects the C#/DotNet SDK js-sdk Affects the JavaScript SDK python-sdk Affects the Python SDK java-sdk Affects the Java/Kotlin SDK labels Mar 21, 2024
@rhamzeh rhamzeh moved this from Ready to Backlog in SDKs and Tooling Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-sdk Affects the C#/DotNet SDK enhancement New feature or request go-sdk Affects the Go SDK java-sdk Affects the Java/Kotlin SDK js-sdk Affects the JavaScript SDK python-sdk Affects the Python SDK
Projects
Status: Backlog
Development

No branches or pull requests

1 participant