vaadin/flow-and-components-documentation

Fusion: incorrect document

Closed this issue · 0 comments

In this doc, it uses VaadinRequest.getCurrent() in an @Endpoint method, which throws NPE.

Update the doc with a working code snippet.

The fix in vaadin/flow#7522 was incomplete since it depends on VaadinService being available.