Cqrs.Absinthe (cqrs_tools v0.1.7) View Source
Link to this section Summary
Link to this section Functions
Creates args for an Absinthe query from a query's filters.
Options
:only- Restrict importing to only the filters listed:except- Imports all filters except for those listed- any filter name to an existing absinthe_type
Examples
field :user, :user do
query_args GetUser, except: [:name]
resolve &user/2
end
connection field :users, node_type: :user do
query_args ListUsers, status: :user_status
resolve &users/2
end