Skip to content

Basic Glossaries

Gal Koren edited this page Nov 12, 2020 · 1 revision

  • Validator can fail a command. The rest of the valid commands will continue to execute.
  • Enricher can modify the original command by adding or changing values based on state consumed from the DB.

Both Validator and Enricher are StateConsumers: they declare what they need to be fetched from DB so that the flow can fetch it all at once rather than one-by-one.