(build-schema spec)(build-schema spec extensions)Compile a Lacinia schema from spec. extensions is the caller-owned
config map ({:enrichers :validators :transformers :resolvers :retry-hooks
:cache :scalars}); it is closed over every resolver so runtime requests
carry it into bff.executor/run-endpoint.
Object types can be declared inline on each endpoint's output_type or at
the top level under output_types: (referenced from an endpoint by bare
name). Duplicate type names are merged field-by-field; conflicting types
on a shared field name throw. Input types (input_types:) get the same
treatment.
Compile a Lacinia schema from `spec`. `extensions` is the caller-owned
config map ({:enrichers :validators :transformers :resolvers :retry-hooks
:cache :scalars}); it is closed over every resolver so runtime requests
carry it into bff.executor/run-endpoint.
Object types can be declared inline on each endpoint's `output_type` or at
the top level under `output_types:` (referenced from an endpoint by bare
name). Duplicate type names are merged field-by-field; conflicting types
on a shared field name throw. Input types (`input_types:`) get the same
treatment.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |