[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
The following is not accepted syntax
const someId = 0;
withCache({ key: someId })
forcing me to use withCache({ key: `${someId}` }) or withCache({ key: ''+someId })
Expected behavior
This syntax to be accepted
const someId = 0;
withCache({ key: someId })
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Developer experience
Environment
Angular version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
I'm submitting a...
Current behavior
The following is not accepted syntax
forcing me to use
withCache({ key: `${someId}` })
orwithCache({ key: ''+someId })
Expected behavior
This syntax to be accepted
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Developer experience
Environment