WarUI

Custom operators and translator extensions

GRID-A05-F24P2beyond-baselinePlanned

Lets applications register custom operators (for example 'withinRadius' or 'fullTextMatch'). Each registration includes a typed value schema, a client evaluator and a translator implementation per backend, and the operator still passes through the allowlists, validation and parameterization rules.

Planned. This page shows the specification from issue #182. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A depot grid with a registered 'withinRadius' operator and a map-free numeric editor (lat, lon, km).

Expected behavior

SQL output uses a function call with three parameters. If an implementation is missing for the active translator, the error OPERATOR_UNSUPPORTED_BY_TRANSLATOR is shown.

Planned API surface

registerOperator()OperatorDefinitionvalueSchematranslators.sqltranslators.odatatranslators.graphqlOPERATOR_UNSUPPORTED_BY_TRANSLATOR

Acceptance criteria

  • Custom operators must declare a value schema, which is validated like the built-ins (pending)
  • Translator hooks receive a parameter-binding API and cannot return raw value text (pending)
  • Custom operators are namespaced to avoid collisions with future built-ins (pending)
  • Registration is per grid/schema instance, not global by default (pending)