-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Qute: add SectionResolutionContext.evaluate() #34017
Conversation
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.
This is great, but you should add it to https://quarkus.io/guides/qute-reference#engine-customization which is how I got into this mess :)
Good point, I'll update the docs as well... |
4a768af
to
2894c98
Compare
This comment has been minimized.
This comment has been minimized.
Failing Jobs - Building 2894c98
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
|
@gsmet FYI the |
🙈 The PR is closed and the preview is expired. |
|
||
@Override | ||
public CustomSectionHelper initialize(SectionInitContext context) { | ||
if (context.getParameter("foo") == null) { | ||
throw new IllegalStateException("Foo param not found"); <3> | ||
} | ||
return new CustomSectionHelper(); |
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.
This constructor is missing its parameter :(
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.
Great catch! No problem, I will fix it in a follow-up PR...
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.
Not so great, sorry to have taken so long to review :(
https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Qute.20section.20handler