Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
All versions are affected, including v7.0.0-rc.3.
Repro steps
Problem
The generated method transform has wrong parameters. The second parameter, args, will not receive all the pipe arguments, but only the first one, and other arguments are lost.
The generated method is:
transform(value: any, args?: any): any {
return null;
}
A right version should be:
transform(value: any, ...args: any[]): any {
return null;
}
Bug Report or Feature Request (mark with an
x)Command (mark with an
x)Versions
All versions are affected, including v7.0.0-rc.3.
Repro steps
Problem
The generated method transform has wrong parameters. The second parameter, args, will not receive all the pipe arguments, but only the first one, and other arguments are lost.
The generated method is:
A right version should be: