Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DI config: add spread operator #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matej21
Copy link
Contributor

@matej21 matej21 commented Aug 14, 2017

  • bug fix? no
  • new feature? yes
  • BC break? yes (when someone concats ... with a scalar parameter. it could be fixed by checking whether return value is an array, but is it worth it?)

@dg
Copy link
Member

dg commented Aug 19, 2017

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.

@f3l1x
Copy link
Member

f3l1x commented Feb 18, 2018

It would be fine merge it or reject it. What do you think? I could be the fine feature in Nette 3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants