diffsync
diffsync copied to clipboard
General versus Per-Model flags
Environment
- DiffSync version: 2.0.0
Proposed Functionality
The way flags are managed in https://github.com/networktocode/diffsync/blob/315b5e9396148209a71a9526c090b2899deab77a/diffsync/helpers.py#L185-L208, means that the GLOBAL flags always take precedence over the MODEL ones.
I would propose changing the order (more specific first) and adding some flags that could negate the global behavior. For example:
- global:
SKIP_UNMATCHED_DST - model:
NO_SKIP_UNMATCHED_DST(new one)
This should allow not skipping for only a specific model.