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
The ResourceDefinition class exposes developer friendly hooks into how their resources are exposed. It is intended to improve the experience and reduce boilerplate for commonly required features.
As with the prior implementation, the ResourceDefinition will be resolved from the container and can accept any dependencies that have been registered.
Custom Filters
Introduce QueryFilters type which is just an "alias" to Dictionary in an attempt to improve DX
Description
The
ResourceDefinition
class exposes developer friendly hooks into how their resources are exposed. It is intended to improve the experience and reduce boilerplate for commonly required features.As with the prior implementation, the
ResourceDefinition
will be resolved from the container and can accept any dependencies that have been registered.Custom Filters
QueryFilters
type which is just an "alias" to Dictionary in an attempt to improve DXQueryFilters
and applying themQueryFilters
will not be applied using the default behaviorExample
Should be used to handle requests like:
Default Sort
Allow a resource to have a default sort if no
sort
key is provided.PropertySortOrder
type which is just an "alias" to ReadOnlyList in an attempt to improve DXExample
The text was updated successfully, but these errors were encountered: