Skip to content

Queries

Core queries in Arc are the low-level TypeScript and JavaScript primitives used to retrieve data from backend query endpoints. Ordinary queries use HTTP request and response semantics; observable queries subscribe to an emitting backend source. Neither requires Chronicle.

This section focuses on contracts and runtime behavior in @cratis/arc. For React hook-based usage, see React Queries.

CapabilityWhat it coversLearn more
Query contractsIQuery, IQueryFor, sorting, paging, and typed executionQuery Contracts
Runtime configurationMicroservice routing, API base path, and observable transport modeConfiguration
Validation and behaviorClient-side validation, request behavior, and error categoriesValidation And Behavior
Backend integrationController-based/model-bound mapping and proxy generationBackend Integration