Skip to content

v1.0.0

Compare
Choose a tag to compare
@esuomi esuomi released this 20 Jan 10:38
· 4 commits to master since this release
d3c3bcd

Muotti v1.0.0

Muotti is a graph based value transformer library which aims to solve complex value transformation by utilizing a digraph of known transformation steps to produce a final transformer chain which performs the transformation.

See the project README.md for installation and usage instructions etc.

This is the first full release of muotti. The main features are, in no particular order:

  • define a directed graph of step-by-step transformations to enable creation of arbitrary complex value transformation chains
  • from multiple possible paths between source and target, resolve and cache the working one
  • graph definition is entirely configuration driven and is represented as plain data
  • metosin/malli support through its value transformer facilities
    • supports majority of malli's value schemas and a good bunch of predicate schemas as well
    • can provide default values for nils
    • transformation target and source types can be overridden through custom metadata
  • supports both DOT and mermaid for visualizing transformer digraph

Full Changelog: v0.0.0...v1.0.0