Closed cristaloleg closed 10 months ago
While I agree that having to repeat the name ideally should not have been necessary, it does not seem feasible to solve this without breaking backwards compatibility. And in this case, the cost of breaking existing usages does not seem worth the cosmetic benefit.
🤷
Hi, thank you for the lib, it's really awesome.
I've a case like that:
as you can see I'm typing
AnswerStore
2 times to get rid ofMock
suffix (it will beAnswerStoreMock
as you can guess). But this doesn't make sense 'cause destination package will bemock
, for memock.AnswerStoreMock
contains too much mock in the name :)Is it possible to add a flag with defines exact final name (
-name
?) or there will be a feature to not appendMock
at the end whenpkg
is mock (or containsmock
). Latest probably will break backward compatibility :(Thanks.