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
fix(directives): allow multiline and leading spaces #1669
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1669 +/- ##
=======================================
Coverage 95.50% 95.50%
=======================================
Files 113 113
Lines 1847 1847
Branches 364 362 -2
=======================================
Hits 1764 1764
Misses 83 83 ☔ View full report in Codecov by Sentry. |
Now it's allowed to do this: @Directive(`
@name(
argument: "value",
hello: "world
)
`) Since the directive is firstly inlined and trimmed (start) |
@MichalLytek Can be seen as a feature? |
@MichalLytek I'm missing something in the |
* fix: allow @directive definition multiline and leading spaces * test: better multiline and leading whitespaces tests * Fix assert directive --------- Co-authored-by: Michał Lytek <michal.wojciech.lytek@gmail.com>
Fix #1423