[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
Library version: 1.2.0-beta.3
I discovered a bug where UserAgentApplication.buildIDTokenRequest was receiving an undefined AuthenticationParameters object and failing at runtime. On further investigation I could not comprehend how the calling code could compile because in the scope of the calling code the request parameter is optional. I then realised strictNullChecks was not enabled on the codebase. After enabling strictNullChecks the codebase is littered with compiler errors too numerous to be listed here.
The code should compile with strictNullChecks enabled.
Enable strictNullChecks in the base tsconfig.base.json, open the project in VSCode and see the red wiggly lines all over the place.
@freshtonic Thanks for the issue, didn't realize that was disabled, I'll definitely take a look.
@jasonnutter Is there any update on this bug? Thanks.
@ab0nent We haven't had a chance to get to this, but we will at some point soon.
We are working on this in the background, since some of the code needs to be rewritten or needs additional checks, we are taking an incremental approach. This will be updated once we have everything in place. FYI for future libraries, we are enabling this from the start.
This issue has not seen activity in 14 days. It may be closed if it remains stale.
Closing as this will no longer be picked up for version 1.x. This work will be done in 2.x, the first part of which has been started in #2602
Most helpful comment
@freshtonic Thanks for the issue, didn't realize that was disabled, I'll definitely take a look.