The FixRegistryapplyFixes reaches for
when no registry is supplied in its params. Pre-populated with
the built-in strategies that ship from
studio/sceneModelInspector/fixes.
Plugins are expected to register additional strategies into this
singleton on import:
To override a built-in remediation, register your own strategy
for the same code — last-registration-wins
(see FixRegistry.register). To opt out
completely, call DEFAULT_FIX_REGISTRY.unregister(code)
— subsequent applyFixes runs treat that code as having no
matching strategy and skip it.
Tests / one-off pipelines can ignore the singleton and build a
fresh FixRegistry instead.
The FixRegistry applyFixes reaches for when no
registryis supplied in its params. Pre-populated with the built-in strategies that ship from studio/sceneModelInspector/fixes.Plugins are expected to register additional strategies into this singleton on import:
To override a built-in remediation, register your own strategy for the same code — last-registration-wins (see FixRegistry.register). To opt out completely, call
DEFAULT_FIX_REGISTRY.unregister(code)— subsequentapplyFixesruns treat that code as having no matching strategy and skip it.Tests / one-off pipelines can ignore the singleton and build a fresh
FixRegistryinstead.