-
Notifications
You must be signed in to change notification settings - Fork 760
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
All the binding names should be distinct, no repeats (since they'll all be hanging off the same env
object)
#658
Comments
Is there a list of the properties whose bindings should be checked for uniqueness? Off the top of my head, like
But I feel like there's more that i'm missing |
R2 |
Something that came up yesterday in our attempt to upgrade one of the Pages Workers to W2 was the approach of setting a var binding in wrangler.toml but then overriding it with a secret in the dashboard. I don't know how prevalent this practice is, but I think we should not attempt to ensure uniqueness between vars and secrets. |
That makes sense. What about unsafe bindings as well? |
And |
We could do a warning, maybe, instead of a full error |
We should verify that users don't use the same binding names for
The text was updated successfully, but these errors were encountered: