You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With introduction of runtime arguments (#8) the API became a bit confusing cause of mixing tags and arguments values. It would be better to use something like this:
To release this feature faster and without bumping major version (what we are going to do to release circular dependencies) we can leave old version and later (or can we do it right away?) deprecate it.
I think we can wait a few days to integrate that at the same time as we release Circular Dependencies (hopefully this weekend). You might deprecate the old method right away in a 3.1.0 before 4.0.0 but I'm not sure that's worth it.
Also see #16 (comment) : I couldn't think of a better name than withArguments: here, but maybe a little brainstorming is worth it before adopting that to ensure the name we choose is not confusing with a param expecting an array.
True. I was worried about the version with one argument being Any it could actually accept an Array without complaining; but as you say, code completion will list all the possibilities with one to 6 arguments so this should be clear enough indeed.
Activity
AliSoftware commentedon Nov 26, 2015
I think we can wait a few days to integrate that at the same time as we release Circular Dependencies (hopefully this weekend). You might deprecate the old method right away in a 3.1.0 before 4.0.0 but I'm not sure that's worth it.
Also see #16 (comment) : I couldn't think of a better name than
withArguments:here, but maybe a little brainstorming is worth it before adopting that to ensure the name we choose is not confusing with a param expecting an array.ilyapuchka commentedon Nov 26, 2015
I think it's fine - code completion should make it clear that it's different arguments, not an array.
AliSoftware commentedon Nov 26, 2015
True. I was worried about the version with one argument being
Anyit could actually accept anArraywithout complaining; but as you say, code completion will list all the possibilities with one to 6 arguments so this should be clear enough indeed.AliSoftware commentedon Nov 26, 2015
Dammit, you beat me to editing the wiki page, I conflicted with your edits when wanting to edit it 😄 fast guy 😉 👍
ilyapuchka commentedon Nov 26, 2015
Last minutes before my wife takes me away to watch TV-show 😄
ilyapuchka commentedon Nov 30, 2015
Resolved by #21