-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(transport): Make SvelteKit adapter deployable on Netlify Edge Functions #2155
base: main
Are you sure you want to change the base?
Conversation
Merging to
|
|
||
return { | ||
async unary( | ||
...args: [any, any, any, any, any, any, any] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get some concrete types for these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe these types come from connectrpc directly and we don't want to add another dependency to get the types. There may be a way to use utility types to pull them out but I'm not sure.
return client.unary(...args); | ||
}, | ||
async stream( | ||
...args: [any, any, any, any, any, any, any] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
Netlify Edge Funcitons run on a super old version of Deno that fails on some
node:*
imports. This is a really nasty workaround that allows Arcjet-protected SvelteKit apps to be deployed there.