David Grudl

Results 425 comments of David Grudl

It does not seem to me that it is measurably faster.

It can be done, but it's a BC break. Because someone can rely on the current way.

For accuracy: it is not like PHP spread operator, because it works with keys, so `DbConnection(...%connection%)` in NEON and `new DbConnection(...$connection)` in PHP may work different.

What is the reason to disable strict types? The container should be generated to respect strict types.

Latte is something different because you write the code of template, while the DI is completely generated. The goal is for the generator to be able to look at the...

The use of strict types is not based on boolval, strval, (bool) or (string). On the contrary, these type casting operators and functions go against the meaning of strict types....

Btw I added some type conversion functions to DI https://github.com/nette/di/commit/2fab800029b16996902184d1cc51a12b1f159a32

Or this can keep original arguments: ```neon services: application.presenterFactory: factory: App\TestPresenterFactory alteration: yes ```

I think that this is improper usage of splat operator, so I dont want to support it.

It would be a BC break, I don't really want to deal with it.