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

Feat/post fetching #125

Merged
merged 4 commits into from Dec 4, 2022
Merged

Feat/post fetching #125

merged 4 commits into from Dec 4, 2022

Conversation

ivarconr
Copy link
Member

@ivarconr ivarconr commented Nov 29, 2022

In this PR we make it configurable to use POST instead of GET when polling for feature toggle updates. This avoids exposing context fields as query params on the URL, but will reduce the built in cache-ability.

See also Unleash/unleash-proxy#106

Copy link
Collaborator

@FredrikOseberg FredrikOseberg left a comment

Choose a reason for hiding this comment

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

Looks good, I've added two suggestions.

src/util.ts Show resolved Hide resolved
src/index.test.ts Show resolved Hide resolved
@ivarconr ivarconr merged commit 766b697 into main Dec 4, 2022
@ivarconr ivarconr deleted the feat/POST-fetching branch December 4, 2022 20:13
@alek-sys alek-sys mentioned this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants