-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/backend/strict null check (#279)
* [backend] Enable strictNullChecks in tsconfig.json * [backend] Fix handleDisconnect to handle null user * [backend] Fix MessageEntity constructor by strict null check * [backend] Fix WsPublicUserEntity constructor by using the correct type * [backend] Fix match request handlers - Naming consistency - Use match request instead of invite * [backend] Fix UpdateUserOnRoomDto to not use PartialType - because the properties are required, it should not use PartialType * [backend] Fix RoomEntity password type to be nullable - Align with the prisma schema * [backend] Fix UserEntity password type to be nullable - To align with prisma schema - But it is not desirable to have nullable password field * [backend] Fix PublicUserEntity password type to be nullable * [backend] Fix mute and ban services to use findUniqueOrThrow * [backend] Fix strict null check in enter-room.guard.ts * [backend] Fix strict null check for events.gateway.ts * [backend] Fix strict null check in auth service * [backend] Fix strict null check in seed.ts * [backend] Fix strict null check in main.ts * [backend] Fix strict null check in events.gateway.ts * [backend] Fix WsPublicUserEntity constructor * [backend] Remove CreateUserOnRoomDto (which is not used)
- Loading branch information
Showing
19 changed files
with
162 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.