Update .env #44
Annotations
4 errors and 18 warnings
build:
OpenAdm.Test/Application/Test/PedidoServiceTest.cs#L27
There is no argument given that corresponds to the required parameter 'processarPedidoService' of 'PedidoService.PedidoService(IPedidoRepository, ITokenService, ITabelaDePrecoRepository, IProcessarPedidoService)'
|
build:
OpenAdm.Test/Application/Test/PedidoServiceTest.cs#L47
There is no argument given that corresponds to the required parameter 'processarPedidoService' of 'PedidoService.PedidoService(IPedidoRepository, ITokenService, ITabelaDePrecoRepository, IProcessarPedidoService)'
|
build:
OpenAdm.Test/Application/Test/PedidoServiceTest.cs#L68
There is no argument given that corresponds to the required parameter 'processarPedidoService' of 'PedidoService.PedidoService(IPedidoRepository, ITokenService, ITabelaDePrecoRepository, IProcessarPedidoService)'
|
build
Process completed with exit code 1.
|
build:
OpenAdm.Infra/Cached/Cached/TabelaDePrecoCached.cs#L49
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Infra/Cached/Cached/ProdutoCached.cs#L64
Possible null reference assignment.
|
build:
OpenAdm.Infra/Repositories/ItensPedidoRepository.cs#L38
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Application/Services/CarrinhoService.cs#L52
Possible null reference argument for parameter 'carrinhoModel' in 'Task<bool> ICarrinhoRepository.AdicionarProdutoAsync(CarrinhoModel carrinhoModel, string key)'.
|
build:
OpenAdm.Application/Services/ProcessarPedidoService.cs#L43
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Application/Services/ProcessarPedidoService.cs#L68
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:
OpenAdm.Test/Application/Test/TokenServiceTest.cs#L43
Dereference of a possibly null reference.
|
build:
OpenAdm.Test/Domain/Builder/ItensPedidoBuilder.cs#L10
Field 'ItensPedidoBuilder._numero' is never assigned to, and will always have its default value 0
|
build:
OpenAdm.Application/Services/CarrinhoService.cs#L52
Possible null reference argument for parameter 'carrinhoModel' in 'Task<bool> ICarrinhoRepository.AdicionarProdutoAsync(CarrinhoModel carrinhoModel, string key)'.
|
build:
OpenAdm.Application/Services/ProcessarPedidoService.cs#L43
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Application/Services/ProcessarPedidoService.cs#L68
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:
OpenAdm.Infra/Cached/Cached/TabelaDePrecoCached.cs#L49
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Infra/Cached/Cached/ProdutoCached.cs#L64
Possible null reference assignment.
|
build:
OpenAdm.Infra/Repositories/ItensPedidoRepository.cs#L38
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Application/Services/CarrinhoService.cs#L52
Possible null reference argument for parameter 'carrinhoModel' in 'Task<bool> ICarrinhoRepository.AdicionarProdutoAsync(CarrinhoModel carrinhoModel, string key)'.
|
build:
OpenAdm.Application/Services/ProcessarPedidoService.cs#L43
Cannot convert null literal to non-nullable reference type.
|
build:
OpenAdm.Application/Services/ProcessarPedidoService.cs#L68
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:
OpenAdm.Infra/Cached/Cached/TabelaDePrecoCached.cs#L49
Cannot convert null literal to non-nullable reference type.
|