Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Closed
Labels
Description
Description
Currently, UidValueResolver only works with request attributes. However, the MapQueryParameter accepts a "resolver" parameter, which means you can flexibly bind query parameters with different resolvers.
In general, it is possible that the problem is somewhat broader: resolvers could work on all attributes where "resolver" parameter passing is possible. At least within the package http-kernel
Example
It would be great if the following combination would work:
#[MapQueryParameter(resolver: UidValueResolver::class)] ?Uuid $groupId = null