Open chadell opened 8 months ago
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:
SKIP_UNMATCHED_DST
NO_SKIP_UNMATCHED_DST
This should allow not skipping for only a specific model.
Environment
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:
SKIP_UNMATCHED_DST
NO_SKIP_UNMATCHED_DST
(new one)This should allow not skipping for only a specific model.
Use Case