Cqrs.Absinthe.derive_query
You're seeing just the macro
derive_query
, go back to Cqrs.Absinthe module for more information.
Defines an Absinthe
query
from a Query.
Options
:as
- The name to use for the query. Defaults to the query_module name snake_cased.:only
- Use only the filters listed:except
- Create filters for all except those listed:before_resolve
- Absinthe Middleware to run before the resolver.:after_resolve
- Absinthe Middleware to run after the resolver.:arg_types
- A list of filter names to absinthe types. See example.:parent_mappings
- A keyword list of query filters to functions that receive the field's parent object as an argument.:filter_transforms
- A keyword list of query filters to functions that receive the filter's current value as an argument.:required
- A list of query filters to make required; regardless of how they are defined in the query module.