Skip to content

Refactor TypeGuard implementation and tests; remove unused TypeGuard …

fe7e4ed
Select commit
Loading
Failed to load commit list.
Merged

BC-11414 - Refactor Tldraw Server ConfigurationModule to Use Injection Token Register Approach #101

Refactor TypeGuard implementation and tests; remove unused TypeGuard …
fe7e4ed
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 9, 2026 in 39s

Annotations

Check warning on line 38 in src/infra/configuration/configuration.decorator.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected return statement in constructor.

See more on https://sonarcloud.io/project/issues?id=hpi-schul-cloud_tldraw-server&issues=AZy5UrhqN2aVe4dorc09&open=AZy5UrhqN2aVe4dorc09&pullRequest=101

Check failure on line 24 in src/infra/configuration/configuration.decorator.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=hpi-schul-cloud_tldraw-server&issues=AZy5UrhqN2aVe4dorc08&open=AZy5UrhqN2aVe4dorc08&pullRequest=101

Check warning on line 238 in src/shared/guard/type.guard.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`new Error()` is too unspecific for a type check. Use `new TypeError()` instead.

See more on https://sonarcloud.io/project/issues?id=hpi-schul-cloud_tldraw-server&issues=AZzRxFS5nXc0p40jog2F&open=AZzRxFS5nXc0p40jog2F&pullRequest=101