-
Notifications
You must be signed in to change notification settings - Fork 3
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
Document global variables (top-level data:
)
#9
Comments
Matter of fact, there is - just define a On top of that, remember that the project file is just another YAML file ("YAYAMLF", if you will :P), so you can also use YAML references for things that need to be reused between routes (or between any other things, really - YAML references are resolved at the YAML AST level, before interpreting things as configurations). The |
Ah, cool! The readme says "The most important (and currently only) key in that file is rules, a list of routing rules", that's why I thought there was no way. Feel free to reopen this issue as "Add documentation about root |
data:
)
Your wish is my command! |
It would be cool if there was a field in the project.yml to define global variables. e.g.
or is there already a way to accomplish this?
The text was updated successfully, but these errors were encountered: