electric icon indicating copy to clipboard operation
electric copied to clipboard

Add ability to pass headers to the ShapeStream client

Open ericallam opened this issue 1 year ago • 1 comments

We're going to be proxying through our backend to ElectricSQL and would like to be able to add an authorization header on shape requests without having to pass in a custom fetch implementation that injects headers.

ericallam avatar Sep 24 '24 10:09 ericallam

Nice idea — this is far and away the most common reason for needing a custom fetch implementation so this would be good API sugar.

KyleAMathews avatar Sep 24 '24 11:09 KyleAMathews