You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
first call get('test') ConfigService will set the test object reference to internal cache object
second call get('test.var')) ConfigService will call getFromProcessEnv and getFromValidatedEnv then they retrun undefined and set test.var of cache to undefined, note here test in cache is a reference, modify will effect real object
I'm submitting a...
Current behavior
export default registerAs('test', () => ({ var: 1 })); console.log(this.configService.get('test')) // { var:1 } good! console.log(this.configService.get('test.var')) // undefined ??wtf console.log(this.configService.get('test')) // { var: undefined }
the second and third calls return wrong value
Expected behavior
Environment
The text was updated successfully, but these errors were encountered: