Skip to content

Change syntax from @inject @Named('foo') to @Inject(name: 'foo') #18

Description

@llamadonica

First of all, this is a totally stylistic change, and a breaking one at that. I just think the latter looks a little terser, especially because the form.

const foo = const Foo();

lends itself very well to optional named parameter. Named parameters are already used in a number of projects, e.g. polymer.

I have a pull request for your consideration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions