fix: 修復失敗的測試案例 [玩家建立連線失敗因為遊戲不存在] #68
build-and-deploy.yml
on: push
Build, Test and Publish Artifact
34s
Annotations
2 errors and 10 warnings
Build, Test and Publish Artifact
The run was canceled by @aa89227.
|
Build, Test and Publish Artifact
The operation was canceled.
|
Build, Test and Publish Artifact:
SharedLibrary/MonopolyMap.cs#L83
Cannot convert null literal to non-nullable reference type.
|
Build, Test and Publish Artifact:
SharedLibrary/MonopolyMap.cs#L86
Cannot convert null literal to non-nullable reference type.
|
Build, Test and Publish Artifact:
SharedLibrary/MonopolyMap.cs#L19
Possible null reference return.
|
Build, Test and Publish Artifact:
Domain/Player.cs#L15
Non-nullable field 'chess' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build, Test and Publish Artifact:
Domain/Player.cs#L15
Non-nullable field 'auction' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build, Test and Publish Artifact:
Domain/Player.cs#L15
Non-nullable property 'Monopoly' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build, Test and Publish Artifact:
Domain/Auction.cs#L26
Dereference of a possibly null reference.
|
Build, Test and Publish Artifact:
Domain/Monopoly.cs#L233
Dereference of a possibly null reference.
|
Build, Test and Publish Artifact:
Application/Usecases/CreateGameUsecase.cs#L16
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build, Test and Publish Artifact:
Client/Pages/Game.razor.cs#L14
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|