Closed
Description
Version: 3.2.0
Bug Description
User Notice
Nette DI: suspicious dumping of objects TestExtensionConfigDTO when generating the container
Steps To Reproduce
final class TestExtensionConfigDTO
{
// empty class is enough
}
final class TestExtension extends \Nette\DI\CompilerExtension
{
public function getConfigSchema(): Schema
{
return Expect::from(new TestExtensionConfigDTO);
}
}
extensions:
- TestExtension
Expected Behavior
No error message is shown or a message that is better at explaining what is suspicious about the object/class and how to fix it.
Possible Solution
N/A
I'm not really sure what to do about this or what actually is the problem - I'm using objects like this:
Edit - relevant commit:
Metadata
Metadata
Assignees
Labels
No labels