-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Leaf template compiler issues #64
Comments
Package.swift
Leaf dependency is added but not to the target too. |
It's very confusing because the syntax looks right for the scenarios where it does work and doesn't work. My best guess is it seems to always manage the first tag, but not the subsequent ones? Like it'll do the import, but not the statement. It'll add the dependency but not to the target. Always the first one? |
This issue probably belongs more in the toolkit repo, on reflection. I'm just seeing if I can reproduce the issue with a unit test over there :) |
Very perplexing... my unit test is passing 🤔 Same exact template as what is failing here... |
and that my friends is because this bug has been fixed in a more recent version of the toolbox. turns out when I thought I updated last week, it didn't. sorry for the unnecessary prompt! all is good |
Describe the bug
If you create a new Vapor project with Leaf and no Fluent, then the project generates incorrectly.
To Reproduce
routes.swift
configure.swift (no
app.views.use(.leaf)
)Expected behavior
The project should compile after being generated, and should be setup correctly to use Leaf.
Environment
vapor: stable 18.3.3 (bottled), HEAD
xcode: 13.2.1 and 13.3 tested
macos: monterey 12.1
Additional context
has existed for quite a while, only just raising it
The text was updated successfully, but these errors were encountered: