Closed markst closed 8 months ago
@BarredEwe perhaps it might be preferred to allow passing more generics arguments as args
?
args:
autoMockableImports: ["Combine", "BookPlayerKit"]
autoMockableTestableImports: ["BookPlayer"]
Might be an idea to add some tests for Configuration
parsing
@BarredEwe perhaps it might be preferred to allow passing more generics arguments as
args
?args: autoMockableImports: ["Combine", "BookPlayerKit"] autoMockableTestableImports: ["BookPlayer"]
Sounds great! This will save us from adding all the arguments from Sourcery in the future. And given the ability to add a custom Stencil, it will be great to throw custom arguments there
Great job 👍
If you want, you can add configuration parsing tests. I plan to do it anyway in the future)
I tried adding tests, but it doesn't seem possible for for plugins!
Thanks for the Pull Request! In the new version 2.0, I added support, you can already try it.
We have multiple swift packages which need to be imported into our generated definitions.
Similar to how Sourcery supports passing
autoMockableImports
. https://github.com/krzysztofzablocki/Sourcery/pull/940These changes include
imports
inConfiguration