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
Originally posted by lajbel March 1, 2024 Looks pretty obvious to have something like credentials in the configuration of hc, something like this
credentials
hc
const authClient = hc<SomeType>("/api/auth/", { headers: {} // You can already set headers! credentials: "include", });
I was searching here and there's only one option available to do this approach
const api = hc<AppType>("api/auth", { fetch: (req, init) => fetch(req, { ...init, credentials: "include", // Why not have all fetch options too? }) })
RPC is pretty awesome, but some things are missing
The text was updated successfully, but these errors were encountered:
init
This was resolved by #2592
Sorry, something went wrong.
No branches or pull requests
Discussed in https://github.com/orgs/honojs/discussions/2291
Originally posted by lajbel March 1, 2024
Looks pretty obvious to have something like
credentials
in the configuration ofhc
, something like thisI was searching here and there's only one option available to do this approach
RPC is pretty awesome, but some things are missing
The text was updated successfully, but these errors were encountered: