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: option for custom fallback instead of process.env #25

Merged
merged 3 commits into from
Aug 21, 2023

Conversation

james-elicx
Copy link
Owner

This PR does the following:

  • Makes it possible to provide a custom fallback as an argument. e.g. binding('MY_KV', { fallback: platform.env })

@changeset-bot
Copy link

changeset-bot bot commented Aug 21, 2023

🦋 Changeset detected

Latest commit: 8893c58

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
cf-bindings-proxy Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Aug 21, 2023

🧪 A prerelease is available for testing 🧪

You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.ixion-labs.workers.dev/james-elicx/cf-bindings-proxy/runs/5925367823/npm-package-cf-bindings-proxy-25

Or you can immediately run this with npx:

npx https://prerelease-registry.ixion-labs.workers.dev/james-elicx/cf-bindings-proxy/runs/5925367823/npm-package-cf-bindings-proxy-25

@james-elicx james-elicx merged commit 918bb55 into main Aug 21, 2023
5 checks passed
@james-elicx james-elicx deleted the james/fallback-option branch August 21, 2023 11:08
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.

1 participant