-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: fix template global class generation in the dev mode #2 #46014
Conversation
mkouba
commented
Jan 31, 2025
- follows-up on Qute: fix template global class generation in the dev mode #45771
- fixes Qute TemplateGlobal throws error on live reload #46005
- follows-up on quarkusio#45771 - fixes quarkusio#46005
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
@gbourant it would be great if you could test this fix as well. |
Status for workflow
|
Thank you @mkouba, i tested your fix and now it's working. |
@@ -53,7 +53,7 @@ public boolean test(String t) { | |||
return false; | |||
} | |||
}); | |||
try (ClassCreator classCreator = ClassCreator.builder().className("io.quarkus.qute.test.QuteDummyGlobals") | |||
try (ClassCreator classCreator = ClassCreator.builder().className("org.acme.qute.test.QuteDummyGlobals") |
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.
Why changing this package name?
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.
Yeah this is a bit odd.
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.
Why changing this package name?
Because we need to simulate an ordering issue where the generated globals are sorted by the FQCN of the declaring class.