Skip to content

Update null check for company Mapper #151

Update null check for company Mapper

Update null check for company Mapper #151

Triggered via push October 23, 2024 15:50
Status Failure
Total duration 42s
Artifacts

jobleet-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: JobLeet.WebApi/Program.cs#L84
Possible null reference argument for parameter 's' in 'byte[] Convert.FromBase64String(string s)'.
build: JobLeet.WebApi/JobLeet.Validator/EntityValidator/V1/EmailAddressValidator.cs#L31
The variable 'e' is declared but never used
build: JobLeet.WebApi/JobLeet.Validator/EntityValidator/V1/EmailAddressValidator.cs#L35
The variable 'e' is declared but never used
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L17
Possible null reference return.
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L24
Possible null reference argument for parameter 'entity' in 'Address AddressMapper.ToAddressDatabase(Address entity)'.
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L25
Possible null reference argument for parameter 'entity' in 'Phone PhoneMapper.ToPhoneDatabase(Phone entity)'.
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L26
Dereference of a possibly null reference.
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L26
Possible null reference argument for parameter 'entity' in 'CompanyProfile CompanyMapper.ToCompanyProfileDatabase(CompanyProfile entity, Phone phoneEntity, Address addressEntity, Email emailEntity)'.
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L26
Possible null reference argument for parameter 'phoneEntity' in 'CompanyProfile CompanyMapper.ToCompanyProfileDatabase(CompanyProfile entity, Phone phoneEntity, Address addressEntity, Email emailEntity)'.
build: JobLeet.WebApi/JobLeet.Mappers/V1/EmployerMapper.cs#L26
Possible null reference argument for parameter 'addressEntity' in 'CompanyProfile CompanyMapper.ToCompanyProfileDatabase(CompanyProfile entity, Phone phoneEntity, Address addressEntity, Email emailEntity)'.