QueryFieldNames
object QueryFieldNames
The names of the query field constants of an aggregate's state: the compiler's <State>Properties in the domain module and the <Context>Contract generated into its api module from the state schema name each path of the state alike, so the two sets are the same.
A path is what Jackson writes and the state schema describes, state.<property> with nested properties after dots, each segment a JSON property name (isSegment); its constant is the path's segments in upper snake case, joined by __: state.items.productId is STATE__ITEMS__PRODUCT_ID.
Properties
Functions
Link copied to clipboard
The constant of path, a dotted path: state.items.productId as STATE__ITEMS__PRODUCT_ID.
Link copied to clipboard
productId as PRODUCT_ID, URLValue as URL_VALUE; a character no identifier takes becomes _.