Skip to main content

About ServiceQuery®

Flexible queries. Deliberate boundaries.

ServiceQuery® is a focused query foundation from HoloModular® for APIs that need richer query expression without surrendering server control.

One product foundation within a broader direction.

Why ServiceQuery® exists

Rich query intent should not require a new parameter for every shape.

Conventional parameters are useful for simple endpoints. As query needs grow, repeated parameters and special cases become harder to understand and maintain.

A HoloModular® product foundation

A smaller, deliberate middle path.

ServiceQuery® gives APIs structured query power without making the client or query text the authority.

Origins of ServiceQuery®

It started from an engineering problem.

ServiceQuery® grew from a recurring engineering problem: teams rewriting filter, sort, and page logic in every service, then adding another special-purpose parameter whenever a client needed a new query shape.

The answer is not that every parameterized API is wrong. The problem appears when query needs become combinations that are difficult to express consistently across endpoints and clients.

ServiceQuery® focuses on a small, structured query model that composes with LINQ, giving APIs richer expression without requiring the client to become the authority over data, policy, or execution.

Structured request to provider query

Describe the query. Keep authority at the API.

The client sends structured query intent. The API validates and bounds the request. ServiceQuery® builds the corresponding LINQ expression over the queryable source the API already owns.

1

Structured request

Describe filters, sorting, paging, and aggregation as query data.

2

Validated model

Apply the API’s allowed fields, operations, limits, and policy.

3

LINQ expression

Build an expression tree instead of concatenating user-controlled SQL strings.

4

Provider-owned source

Execute through the IQueryable source selected by the API.

5

Bounded result

Return results within the endpoint’s authorization and operational boundaries.

Query power inside an intentional boundary

ServiceQuery® handles query construction. Your API remains in charge.

Safe query construction is one part of a safe API. The server still decides what the client may see, ask for, and execute.

ServiceQuery® provides

  • Structured query representation.
  • Filtering, sorting, paging, and aggregation primitives.
  • LINQ expression-tree construction.
  • Execution through the API’s queryable source.
  • A reduced raw SQL-injection surface by avoiding SQL string construction from query text.

Your API owns

  • Authentication and authorization.
  • Field allowlists and operation policy.
  • Sensitive-field decisions, such as rejecting Salary in a filter.
  • Tenant and ownership scope.
  • Complexity, page-size, rate, classification, and business rules.

Where we are going

Useful query power inside trustworthy systems.

ServiceQuery® is a focused foundation for APIs today and a building block for larger systems that need structured query power without surrendering server control.

Its direction is practical: make richer data access easier to express while keeping authority, policy, and execution visible in the API that owns the result.

Inspect. Run. Adopt.

Give your API useful query power without giving up control.

Review the query surface, identify the boundary, and decide where a structured query contract belongs in the API you already own.