Viability of Filter::wildcard #12
usernotnull
started this conversation in
General
Replies: 1 comment
-
Hmm interesting issue. A solution that comes to mind is adding a method to the Filter interface called This allows us to write a string called For the equal filter it just checks if there is a string. WDYT? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a github action to run envy as part of the pipeline.
When running composer without dev deps on the next job with
composer install --no-dev --no-interaction --prefer-dist
, using Filter::wildcard inside the config file will cause the below error, since the config file will still be processed even if envy is not required in the no-dev env:I could add envy not as a dev dependency, but it's not the ideal solution. At the same time, if I just remove the wildcard support, we go back to issue #3 .
Filter::wildcard is great but forces us to only use it without no-dev.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions