-
Notifications
You must be signed in to change notification settings - Fork 168
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 RPC support for composite components #4298
Conversation
Review status: 1 unresolved discussion, 0 of 1 LGTMs obtained flow-server/src/main/java/com/vaadin/flow/server/communication/rpc/PublishedServerEventHandlerRpcHandler.java, line 139 at r1 (raw file):
This assumes there's only one level of composites. It's also possible (but not very common) that a composite is created out of another composite. I'm also not sure if we should also support Comments from Reviewable |
Review status: 1 unresolved discussion, 0 of 1 LGTMs obtained flow-server/src/main/java/com/vaadin/flow/server/communication/rpc/PublishedServerEventHandlerRpcHandler.java, line 139 at r1 (raw file): Previously, Legioth (Leif Åstrand) wrote…
My intention here is to let the handler check if there's a method on the Comments from Reviewable |
Now this supports composites of composites, with this flow:
|
@Legioth What do you think about adding a specific |
Using any exception for control flow sounds wrong to me. What about splitting out a separate method that finds a method to invoke (potentially recursively)? |
Now a new method looks for the target method in the class hierarchy; if not found and |
Do you feel this needs other improvements, or tests? |
Seems fine to me, but won't merge this right away to reduce the risk of further regressions during the release candidate period. |
Review status: all discussions resolved, 0 of 1 LGTMs obtained, and 1 stale Comments from Reviewable |
* Add RPC support for composite components * Support composite of composite * Split method search in hierarchy
* Add RPC support for composite components * Support composite of composite * Split method search in hierarchy
Fixes #4198
This change is