-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support for Evaluation of CompletionStage and Uni Objects #826
Comments
Adding @angelozerr |
@TonyWeston can you provide a small sample project reproducing this issue please? |
@mkouba in the sample https://quarkus.io/guides/qute-reference#evaluation-of-completionstage-and-uni-objects you speak about object part which can be a CompletionStage, but is it possible to use property or method part with CompletionStage? |
Yes. This sentence is crucial: "If a part of an expression resolves to a CompletionStage, the resolution continues once this stage is completed and the next part of the expression (if any) is evaluated against the result of the completed stage." |
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Ooops sorry I have not seen that. Thanks for your answer, I covered this usecase too. |
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#826 Signed-off-by: azerr <azerr@redhat.com>
Describe the bug
When adding a CompletableFuture data item to a qute template, eclipse shows an error:
For example: I am adding a CompletableFuture here:
In eclipse Qute editor, I see this error :
If I complete the future in the java code:
The warning goes away, though the code is no longer reactive....
Expected behavior
Use of completablefuture should work the same as just passing data objects.
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8) OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)eclipse
Additional information
Doesn't actually prevent anything from working as it should. Just an annoying eclipse error.
Using eclipse plugin "Quarkus Tools 4.26.0.Final'
Reported by @TonyWeston in quarkusio/quarkus#32103
The text was updated successfully, but these errors were encountered: