Missing deprecation warning for deprecated tokenName property
See original GitHub issueThe error: Error: Missing configuration keys: [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]
It happens after checking for missing config keys.
Part of the stack trace:
Error: Missing configuration keys: [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]
at checkForMissingConfigurationKeys (/home/mathieu/WebstormProjects/jhipster-core/lib/dsl/self_checks/parsing_system_checker.js:74:11)
at checkConfigKeys (/home/mathieu/WebstormProjects/jhipster-core/lib/dsl/self_checks/parsing_system_checker.js:57:3)
at Object.<anonymous> (/home/mathieu/WebstormProjects/jhipster-core/lib/dsl/validator.js:27:8885)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Module.replacementCompile (/home/mathieu/WebstormProjects/jhipster-core/node_modules/append-transform/index.js:58:13)
at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Object.<anonymous> (/home/mathieu/WebstormProjects/jhipster-core/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/mathieu/WebstormProjects/jhipster-core/lib/dsl/api.js:17:301)
I can provide the entire stack trace if you want. I’ll try to find why in the meantime
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Deprecation warnings not working for properties in a list of ...
Describe the bug When a property is deprecated, and that property is used in an ... fix(jsii): missing deprecation warning in collections
Read more >Deprecating properties of class in python - Stack Overflow
Expected behaviour: If user tries to use variable 2 he should get warning that its deprecated. python · deprecated · deprecation-warning · Share....
Read more >Warning: expression closures are deprecated - MDN Web Docs
The JavaScript warning "expression closures are deprecated" occurs when the non-standard expression closure syntax (shorthand function ...
Read more >Cloudflare API v4 Documentation
Deprecation Warning. End of life Date: February 4, 2020. This endpoint and its related APIs are deprecated in favor of the `/accounts` equivalent...
Read more >Why am I not getting deprecation warnings for UIAlertView?
It uses UIAlertView a lot, which was deprecated in iOS 9, but I'm not seeing any deprecation warnings when I build the app....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm yeah A getter that acts as an alias (to avoid actual duplication) would be best. Next major version the getter can be modified to throw an descriptive error.
I am thinking about adding a getter to X.tokenName that will throw a descriptive error message. That seems that it would reduce 95% of the problem with 5% of the effort.
What do you think @MathieuAA ?