stillsuit.lacinia.queries

Implementation functions for creating top-level stillsuit queries.

attach-queries

(attach-queries schema config)

entity-id-query-resolver

resolver-map

(resolver-map #:stillsuit{:keys [entity-id-query-name query-by-unique-id-name]})

stillsuit-entity-id-query

(stillsuit-entity-id-query #:stillsuit{:keys [entity-id-query-name datomic-entity-type]})

stillsuit-unique-attribute-query

(stillsuit-unique-attribute-query #:stillsuit{:keys [entity-id-query-name datomic-entity-type]})

unique-attribute-query-resolver

(unique-attribute-query-resolver #:stillsuit{:keys [attribute lacinia-type]})

Catchpocket interface to a generic query, expected to be referenced as a resolver:

:resolve [:stillsuit/resolve-by-unique-id {:stillsuit/attribute :example/attribute :stillsuit/type :LaciniaTypeName}]