Skip to content

Creating Custom Diffing Strategies

Egil Hansen edited this page Dec 26, 2019 · 10 revisions

The built-in options/strategies covers a lot of ground and will be enough for many scenarios. However, the diffing engine is pluggable with new strategies to enable custom scenarios. This page show you have to create your own.

To learn when and how the different types of strategies are used, see the Difference Engine Internals page.

Contents:

  • Understanding the strategy pipeline
  • Creating filters strategies
  • Creating matching strategies
  • Creating comparer strategies
  • Creating strategy libraries/collections

Understanding the strategy pipeline

Creating filters strategies

Filter strategy are used during the filtering phase where nodes and attributes are either included or excluded from the comparison.

Creating matching strategies

Creating comparer strategies

Creating strategy libraries/collections

Clone this wiki locally