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

Support object variables in wrangler toml. #677

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

mendess
Copy link
Collaborator

@mendess mendess commented Dec 5, 2024

Example:

[vars]
VAR = { a = 1, b = "hey" }

[vars.VAR]
a = 1
b = "hey"

@mendess mendess self-assigned this Dec 5, 2024
worker/src/router.rs Outdated Show resolved Hide resolved
worker/src/env.rs Show resolved Hide resolved
Example:

```toml
[vars]
VAR = { a = 1, b = "hey" }

[vars.VAR]
a = 1
b = "hey"
```
@mendess mendess force-pushed the mendess/support-object-variables branch 2 times, most recently from 5f01b1e to 3d269bf Compare December 6, 2024 10:08
@zebp zebp merged commit a39b723 into main Dec 6, 2024
5 checks passed
@zebp zebp deleted the mendess/support-object-variables branch December 6, 2024 14:21
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.

2 participants