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: Building context parameters using map syntax #160

Merged
merged 4 commits into from
Apr 19, 2023
Merged

Conversation

chriswk
Copy link
Member

@chriswk chriswk commented Apr 19, 2023

Currently Edge only supports the explicit context variables; properties[key]=value does not work. Since the proxy clients use the properties[key] syntax for setting custom context, this PR adds serde-qs for parsing query strings using the properties[key]=value syntax.

It also adds a quick proxy-client-js app for verifying that we can set custom context.

fixes: #158

Copy link
Member

@sighphyre sighphyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chriswk chriswk merged commit 33d412a into main Apr 19, 2023
@chriswk chriswk deleted the fix/queryMapSyntax branch April 19, 2023 08:05
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.

Edge does not handle properties[key]=value as part of context
2 participants