Closed JimmyPaolini closed 2 years ago
Ah you're right I didn't think of that, maybe just overrides?.hasOwnProperty('${fieldName}') ? overrides.${fieldName} : ${value};
would work, but it's just a very minor syntax improvement.
Yeah exactly, I'm not sure it's worth adding this improvement. Are you okay if we close this issue?
Yup sounds good, thank you!
Improvement is too minor to benefit from a commit, so we agreed not to go forward with this PR
A small improvement to use optional chaining in assessing
overrides