This follows up on @jmsche continued work with the Stimulus functions. Basically:
A) The only deprecated should be in the Twig extension: we deprecated passing certain args as an array there. And so, the code to "normalize" the deprecated arguments should live there.
B) This allows the DTO classes to be "pure" classes that are not encumbered by any deprecation later.
Hi!
This follows up on @jmsche continued work with the Stimulus functions. Basically:
A) The only deprecated should be in the Twig extension: we deprecated passing certain args as an array there. And so, the code to "normalize" the deprecated arguments should live there.
B) This allows the DTO classes to be "pure" classes that are not encumbered by any deprecation later.
Cheers!