-
Notifications
You must be signed in to change notification settings - Fork 167
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
@ClientCallable documentation issues, must reference @AllowInert #17496
Closed
Labels
Comments
@jflamy thank you for the issue! Just checked and |
17 tasks
mcollovati
added a commit
to vaadin/docs
that referenced
this issue
Jan 9, 2024
Adds a note about the usage of AllowInert annotation to allow RPC calls to components behind a modal dialog or component. Fixes vaadin/flow#17496
tepi
pushed a commit
to vaadin/docs
that referenced
this issue
Jan 29, 2024
* docs: add note about AllowInert on RPC calls Adds a note about the usage of AllowInert annotation to allow RPC calls to components behind a modal dialog or component. Fixes vaadin/flow#17496 * First pass at editing. * Second pass -- edited rest of document touched. --------- Co-authored-by: russelljtdyer <[email protected]>
mcollovati
added a commit
to vaadin/docs
that referenced
this issue
Jan 29, 2024
Adds a note about the usage of AllowInert annotation to allow RPC calls to components behind a modal dialog or component. Fixes vaadin/flow#17496 --------- Co-authored-by: russelljtdyer <[email protected]>
tepi
pushed a commit
to vaadin/docs
that referenced
this issue
Jan 29, 2024
Adds a note about the usage of AllowInert annotation to allow RPC calls to components behind a modal dialog or component. Fixes vaadin/flow#17496 --------- Co-authored-by: russelljtdyer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug
The v24 documentation for @ClientCallable only mentions Polymer, making the reader doubt that it applies to LitElement.
When in fact, elsewhere it is mentioned that ClientCallable is the correct way to call back instead of propagating events.
The documentation to @ClientCallable MUST explain when @AllowInert is be needed. I just lost 2 days trying to figure out why something worked in v14 and v23 but not in v24:
Expected behavior
N/A, documentation
Or maybe make AllowInert the default, as it is completely counter-intuitive.
Minimal reproducible example
N/A
Versions
Vaadin: 24.1.4
Flow: 24.1.5
Java: JetBrains s.r.o. 17.0.6
OS: amd64 Windows 11 10.0
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.54
Live reload: Java unavailable (HotswapAgent): Front end unavailable
The text was updated successfully, but these errors were encountered: