You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you need to use a specific path in your pattern.
For example, when a method is private in other versions you need to import the accessor for it.
So either you have to go and manually add import for it in all classes that use the method or supply a full path in the pattern instead of relying on the classes to import it
But I feel like that looks a bit ugly in preprocessed the code.
So I think adding a way to define dynamic imports for patterns that would be added to the preprocessed code would be a nice addition (although I don't understand how the preprocessor works under the hood, so what I am asking might be impossible).
The text was updated successfully, but these errors were encountered:
Sometimes you need to use a specific path in your pattern.
For example, when a method is private in other versions you need to import the accessor for it.
So either you have to go and manually add import for it in all classes that use the method or supply a full path in the pattern instead of relying on the classes to import it
But I feel like that looks a bit ugly in preprocessed the code.
So I think adding a way to define dynamic imports for patterns that would be added to the preprocessed code would be a nice addition (although I don't understand how the preprocessor works under the hood, so what I am asking might be impossible).
The text was updated successfully, but these errors were encountered: