We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the SDK depends on the Node.js http module. This prevents us from leveraging the SDK in these newer javascript runtimes.
http
A clear and concise description of what you want to happen.
We would have to manually craft the requests to the FGA APIs to interact with the service.
When calling an SDK function such as:
const result = await fgaClient.listObjects({ user, relation, type, });
we receive the following exception being thrown:
[Error: The edge runtime does not support Node.js 'http' module.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Deploying Functions on the Cloudflare Workers/Vercel Edge Runtime to interact with the FGA SDK
Describe the ideal solution
Alternatives and current workarounds
Additional context
When calling an SDK function such as:
const result = await fgaClient.listObjects({ user, relation, type, });
we receive the following exception being thrown:
[Error: The edge runtime does not support Node.js 'http' module.
The text was updated successfully, but these errors were encountered: