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

Update to Quarkus 3.7 #20

Merged
merged 6 commits into from
Feb 10, 2024
Merged

Update to Quarkus 3.7 #20

merged 6 commits into from
Feb 10, 2024

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Feb 10, 2024

I wasn't able to test it as tests require a token but I thought it might help anyway.

builder.down().withData("reason", shardName + " is not connected");
}
})));
unis.add(UniReactorConverters.<Boolean> fromMono().from(client.get().isConnected().doOnNext(connected -> {
Copy link
Member Author

Choose a reason for hiding this comment

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

@jponge this is not pretty but I couldn't find a better way to achieve this?

Copy link
Contributor

Choose a reason for hiding this comment

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

No that's what you need, aka adapt a legacy API Publisher to a JDK Flow.Publisher

Copy link
Member Author

Choose a reason for hiding this comment

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

@jponge so I was more talking about the syntax and especially the need for the <Boolean>fromMono(). I would have expected the API to avoid this somehow.

But maybe I should have used https://smallrye.io/smallrye-mutiny/latest/guides/converters/#converting-a-flux-or-a-mono-into-a-uni instead? I looked for that but was pointed by Google to a very old version which misleads me.

The website UI is a bit problematic because if I'm directed to an anchor that is not at the top, I don't see the version of the guide but... I see a version at the right that is the latest:
https://smallrye.io/smallrye-mutiny/1.6.0/guides/converters/#converting-a-flux-or-a-mono-into-a-multi
so I somehow didn't see that I was browsing an old version.

I wonder if you should keep the version of the guide and the top banner saying it's not the latest (you could have the version in there too). Also maybe make the banner orange or something to draw attention.

Anyway, thanks for popping up :).

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes some older releases lack a versioning notice. If you go to, say, https://smallrye.io/smallrye-mutiny/2.5.0/guides/joining-unis/ you get that notice :-)

@gsmet
Copy link
Member Author

gsmet commented Feb 10, 2024

I was able to set up CI with a test Discord server.

@gsmet
Copy link
Member Author

gsmet commented Feb 10, 2024

I'm going to merge this as it's a step in the right direction.

@gsmet gsmet merged commit 6255f8d into main Feb 10, 2024
1 check passed
@gsmet gsmet deleted the update-quarkus branch February 10, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants