Author a Connector Boundary ​
Declare one named binding under connectors, then reference that binding from an operation-first Query or Command step. Provider discovery and operation compatibility are checked during compilation; provider credentials and endpoints remain deployment configuration.
connectors:
primary-graphql:
provider: graphql.smallrye
version: 1
config:
connection: primary-graphql
operations:
customer.lookup:
kind: QUERY
operationName: CustomerLookup
resource: graphql/customer-lookup.graphql
sha256: <reviewed-document-digest>
steps:
- name: Find customer
kind: query
using: primary-graphql
operation: execute.query
operationVersion: 1
cardinality: ONE_TO_ONE
input: <tpf.graphql.GraphQlQueryRequest>
output: <tpf.graphql.GraphQlResponse>
capture: { keyFields: [operationKey, variablesJson] }The binding selects a provider. The step selects a declared capability. Query capture records an external observation for replay; a Command instead needs stable logical effect identity and a duplicate policy. Neither belongs inside an authored business service.
Provider metadata normally publishes exact input and output types, which the compiler checks when linking a Block. A Query provider that validates and projects application-authored canonical types may explicitly publish APPLICATION_PROJECTED type mode with Object input and output. That is a provider contract, not an authoring switch: the application still declares its step types, and the provider must validate the projected result at execution. Existing providers default to EXACT.
Keep provider secrets out of pipeline.yaml. When authentication is host-managed, the binding uses a deployment-owned connection reference and the host resolves an initialised client at invocation time. See experimental OAuth connections for the provisional Quarkus path.
Detailed authoring pages cover Command connectors, GraphQL, MCP imports, OpenAPI imports, LLM Query, and embedding/vector operations.