Is your feature request related to a problem? Please describe.
Ignis needs to add to the generated CapabilityStatement — e.g. fill in
rest.resource.supportedProfile, custom operations, security. Today the only way is to replace ICapabilityStatementService entirely. Decorating Spark's default (keep its builder, add one field) forces you to RemoveAll its registration and reconstruct new CapabilityStatementService(...), coupling to
its constructor. Writing one from scratch is worse — it drifts from what the server actually supports.
Describe the solution you'd like
A hook or something allowing to contribute to the capability statement.
Additional context
GetSparkCapabilityStatement() is sync, so Contribute would be too — consumers with async work (e.g. resolving profiles) block once behind the cache. Making the build path async is a larger, separate change.
Is your feature request related to a problem? Please describe.
Ignis needs to add to the generated CapabilityStatement — e.g. fill in
rest.resource.supportedProfile, custom operations,security. Today the only way is to replaceICapabilityStatementServiceentirely. Decorating Spark's default (keep its builder, add one field) forces you toRemoveAllits registration and reconstructnew CapabilityStatementService(...), coupling toits constructor. Writing one from scratch is worse — it drifts from what the server actually supports.
Describe the solution you'd like
A hook or something allowing to contribute to the capability statement.
Additional context
GetSparkCapabilityStatement()is sync, soContributewould be too — consumers with async work (e.g. resolving profiles) block once behind the cache. Making the build path async is a larger, separate change.