injectFilter
If this directive is included on a field, it indicates that this field is a filterable collection and must either be an array type or conform to the relay server specification for collections.
type {X}Connection {
edges: [TransactionEdge!]
pageInfo: PageInfo!
}
type {X}Edge {
node: X(!)
cursor: Cursor!
}
The directive introspects on the field type and adds a filter argument in the style of mongodb filters (or Gatsby filters)
directive @injectFilter on FIELD_DEFINITION