You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a symfony controller, you can welcome several query params in a single DTO with the MapQueryString attribute.
In a live component, currently, when you have multiple query parameters to welcome, you must declare them one by one; then eventually in a method regroup them into an array or a DTO to do some logic.
I wonder if we can, also in live components, group query params into one property?
Context: you got a FacetedSearchMenu component, with multiple parameters that you want to reflect on url, and you group those in a FacetFilter DTO to pass to repository or whatever.
If I may help in any way,
Best regards,
The text was updated successfully, but these errors were encountered:
Hello,
In a symfony controller, you can welcome several query params in a single DTO with the MapQueryString attribute.
In a live component, currently, when you have multiple query parameters to welcome, you must declare them one by one; then eventually in a method regroup them into an array or a DTO to do some logic.
I wonder if we can, also in live components, group query params into one property?
Context: you got a FacetedSearchMenu component, with multiple parameters that you want to reflect on url, and you group those in a FacetFilter DTO to pass to repository or whatever.
If I may help in any way,
Best regards,
The text was updated successfully, but these errors were encountered: