Skip to content

metadata collection doesn't include Provider #8223

@alexeagle

Description

@alexeagle

https://github.com/angular/angular/blob/master/modules/angular2/src/common/forms/directives/ng_control_name.ts

const controlNameBinding =
    CONST_EXPR(new Provider(NgControl, {useExisting: forwardRef(() => NgControlName)}));
@Directive({
  selector: '[ngControl]',
  bindings: [controlNameBinding],
  inputs: ['name: ngControl', 'model: ngModel'],
  outputs: ['update: ngModelChange'],
  exportAs: 'ngForm'
})
export class NgControlName extends NgControl implements OnChanges,
    OnDestroy {
...

https://raw.githubusercontent.com/angular/angular/builds-js/src/common/forms/directives/ng_control_name.metadata.json

bindings: [
{
__symbolic: "reference",
name: "controlNameBinding",
module: "angular2/src/common/forms/directives/ng_control_name"
}
],

is missing the provider of NgControl.

cc @chuckjaz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions