Closed redwormik closed 3 years ago
@f3l1x Hello, can I do anything to help this? If you do not think it is a good idea, feel free to close it :slightly_smiling_face:
I like it, could you please export types before end of loadConfiguration
? With comment // Export types
. Thx.
👍
Hello, when I turn off type exporting of Nette DI container like this:
I have to add
Contributte\Console\Application
to the types to get it by type inbin/console
, while e.g.Nette\Application\Application
works "out-of-the-box", because it is added to compiler's exported types inApplicationExtension
, i.e. it is always exported.This PR likewise adds
Contributte\Console\Application
to compiler's exported types, so it works even when other types are not exported.