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

fix: setHeaders and cookies in procedures #106

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

BearToCode
Copy link
Contributor

@BearToCode BearToCode commented Jan 28, 2024

Proxy access to setHeaders and cookies when using procedures. This way, SvelteKit event headers API will work seamlessly with headers set in trpc.

fix #93, fix #78

Copy link

codesandbox bot commented Jan 28, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@icflorescu icflorescu merged commit f17a6d4 into icflorescu:main Jan 28, 2024
@icflorescu
Copy link
Owner

Thanks a lot, @BearToCode!
I didn't have as much time as I wanted to dedicate to this package lately and lots of people were asking for this, but you were the first one to come up with a PR. Kudos!

@icflorescu
Copy link
Owner

Landed in 3.5.25! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting cookies in trpc router doesn't work Unable to delete cookie through client
2 participants