Libraries v5.2.0
    Preparing search index...

    Class ApiImplementation<C, Bound>

    Immutable composition root bound to a shared contract. Compose exported feature modules with use, then pass complete() to server.handleAll. Partial roots are themselves modules and can be composed in larger roots.

    Type Parameters

    Hierarchy (View Summary)

    Index
    "[moduleContract]": Bound

    Compile-time contract coverage.

    • Finalize only when every operation in the original contract is covered. Rechecks coverage at runtime for JavaScript callers and erased types. Returns the existing registration format; the server pipeline is unchanged.

      Parameters

      Returns HandlerMapping

    • Create an unbound scope; does not register handlers or change this root. Services merge contract → group → operation. Only explicitly supplied documentation fields override inherited values. Authorization retains roles.

      Type Parameters

      Parameters

      • name: K
      • Optionaloptions: O & ExactOperations<O, C[K]>

      Returns ImplementationScope<K, C[K], ConfiguredGroup<C[K], O>>