Skip to content
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

Add convenience methods mirroring ReflectiveClassBuildItem factory methods #38679

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

metacosm
Copy link
Contributor

@metacosm metacosm commented Feb 8, 2024

No description provided.

This comment has been minimized.

@metacosm metacosm changed the title Add convenience method mirroring ReflectiveClassBuildItem factory methods Add convenience methods mirroring ReflectiveClassBuildItem factory methods Feb 8, 2024
@gastaldi gastaldi requested a review from geoand February 8, 2024 17:37
@geoand
Copy link
Contributor

geoand commented Feb 9, 2024

+1 for the new methods.

My only "worry" here is about backporting. If we do intend to backport this (and I don't see why not), then +1 for all the changes.
If we don't, then I would prefer if we only added the new methods and didn't change the build steps.

@metacosm
Copy link
Contributor Author

metacosm commented Feb 9, 2024

I did wonder about this. Let me know and I'll revert the build steps changes.

@metacosm
Copy link
Contributor Author

metacosm commented Feb 9, 2024

Another change that could also be made would be to deprecate the constructors, similarly to what was done for ReflectiveClassBuildItem.

@geoand
Copy link
Contributor

geoand commented Feb 9, 2024 via email

…thods

Revert changes to call sites

Add convenience methods mirroring ReflectiveClassBuildItem factory methods
@metacosm
Copy link
Contributor Author

metacosm commented Feb 9, 2024

Removed the call sites changes, added javadoc, chained factory methods for better maintenance.

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link

quarkus-bot bot commented Feb 9, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 9f0a591.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.


Flaky tests - Develocity

⚙️ JVM Tests - JDK 21

📦 extensions/smallrye-reactive-messaging-kafka/deployment

io.quarkus.smallrye.reactivemessaging.kafka.deployment.dev.KafkaDevServicesDevModeTestCase.sseStream - History

  • Assertion condition Expecting size of: [] to be greater than or equal to 2 but was 0 within 10 seconds. - org.awaitility.core.ConditionTimeoutException
org.awaitility.core.ConditionTimeoutException: 
Assertion condition 
Expecting size of:
  []
to be greater than or equal to 2 but was 0 within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)

@gastaldi gastaldi merged commit d80aa32 into quarkusio:main Feb 9, 2024
49 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.9 - main milestone Feb 9, 2024
@metacosm metacosm deleted the builder branch February 9, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants