-
-
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
2.x.x Template struct #22
Conversation
1f20d25
to
c2c77d2
Compare
- 'swift:5.7' | ||
- 'swift:5.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still planning on supporting these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No harm, doing that here. I've use this outside of server development so its minimum supported swift version isn't linked to the minimum version for HB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question, but looks good so far in general. I'll await your reply on that
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x.x #22 +/- ##
========================================
Coverage ? 91.27%
========================================
Files ? 16
Lines ? 1032
Branches ? 0
========================================
Hits ? 942
Misses ? 90
Partials ? 0 ☔ View full report in Codecov by Sentry. |
To make
HBMustacheTemplate
Sendable I have had to change the structure of things slightly. These are breaking changes.HBMustacheTemplate
is now a structHBMustacheLibrary
is a now a structHBMustacheContext
when rendering the template. For partials to work the template needs to be rendered viaHBMustacheLibrary.render
.I didn't think we'd need a v2.0 of hummingbird-mustache but it looks like we will