Currently HasUrlParameter only supports:
It would be lovely to support more types, for example UUID or custom types.
Example: We have most of our IDs wrapped in a container class / id class (UserId and so) - it would be awesome to use this types directly and register them with flow.
Ideas to do that:
Edit: Used wrong Interface..
Hey @knoobie,
There is an add-on that might help you out: https://vaadin.com/directory/component/url-parameter-mapping
It doesn't have all the features you're asking for, but maybe it's a good start for your project.
Thanks, @gilberto-torrezan! That looks really promising.
Upvoted the issues linked in the add-on as well - would love to see the "advanced" Router in the next LTS or so :)
"advanced" Router in the next LTS or so :)
On my list of things to improve. V13 is quite tight but V14 is very plausible target for this.
This should be, at least partially, implemented together with https://github.com/vaadin/flow/issues/8048
Most helpful comment
On my list of things to improve. V13 is quite tight but V14 is very plausible target for this.