Skip to content

Quarkus Mutiny guide mistake #32635

@SetoKaiba

Description

@SetoKaiba

Describe the bug

https://quarkus.io/guides/mutiny-primer#shortcuts
It's said that there is a method uni.then(() → uni2) which is a shortcut of uni.onItem().transformToUni(ignored → uni2).
But it seems that there's no method called then.

https://github.com/smallrye/smallrye-mutiny/pull/1228/files
This PR is related.

Maybe it's a deprecated method. And also, it can be updated to uni.chain(() → uni2) I think.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions