Add GraphQL Fetchers
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- Seven new fetchers under
@aurora/modules/graphql/fetchers/:queryPaginate,queryFindById,queryFind,queryGet,mutateCreate,mutateUpdate,mutateDeleteById. Each returns a plainObservable<T>with no signals and no dependency on a component execution context. - New composable
useGraphqlGetfor unpaginated multi-record reads — mirrors the generatedgetQuery/objects:shape. useGraphqlFindrealigned to single-record semantics (T | null) to matchfindQuery/object:. Plural reads now live inuseGraphqlGet; no previously released composable changes its public shape.
Why it matters
Section titled “Why it matters”Resolvers can now call GraphQL without standing up a composable. Destructure queryPagination, paginationKey, and fields from your generated *_LIST_CONFIG, invoke queryPaginate(...), and return the observable — no dead signals, no component-lifecycle contract leaking into the router. Every previously released useGraphqlX keeps the same public API, so existing components keep compiling without a single import change. The fetcher/composable split leaves a clean seam for future additions in either layer.