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

Allow Global Template params #13

Open
rnpridgeon opened this issue Mar 2, 2023 · 0 comments
Open

Allow Global Template params #13

rnpridgeon opened this issue Mar 2, 2023 · 0 comments
Assignees

Comments

@rnpridgeon
Copy link
Contributor

template.toml should allow you to set common parameters globally while allowing individual template specs to override their values.

i.e.

[templates]

api_version = "0.16.3"
lang = "tinygo"
main = "main.go"

[templates.EventNewShipment]
path = "event/receivables"

[templates.EventShipmentProcessed]
path = "event/processing"

[templates.EventShipmentDelivered]
path = "event/confirmations"
api_version = "0.16.5"

[templates.EventNotify]
path = "event/notifications
lang = "javascript"
main = "index.js"
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

No branches or pull requests

2 participants