This PR removes the optional transformer argument from resolver.resolveExtends function.
Passing the transformer argument currently instructs the resolver to first seek a custom selector before inspecting the stylesheet meta for a class and then determining its type accordingly.
There are several reasons for removing this API:
It is not utilized within Stylable or, to the best of our knowledge, outside of the Stylable repository.
This functionality relies on custom-selector, which we intend to deprecate in favor of the new structure-mode with mapped selectors, which provides an alternative method for deducing the extended type.
This is the only workflow that necessitates the presence of the transformer argument in the resolver, complicating our refactoring plans.
In the future, there may be a need for a similar method to resolve such issues, and we anticipate reintroducing similar functionality when it becomes necessary.
This PR removes the optional
transformer
argument fromresolver.resolveExtends
function.Passing the transformer argument currently instructs the resolver to first seek a custom selector before inspecting the stylesheet meta for a class and then determining its type accordingly.
There are several reasons for removing this API:
In the future, there may be a need for a similar method to resolve such issues, and we anticipate reintroducing similar functionality when it becomes necessary.