Skip to content

Commit

Permalink
fix review-findings rebuilding migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Nov 28, 2023
1 parent 78da570 commit 2f4aaef
Show file tree
Hide file tree
Showing 14 changed files with 3,601 additions and 11,645 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public record ParticipantDetails(
[property: JsonPropertyName("bpn")] string? Bpn,
[property: JsonPropertyName("region")] string? Region,
[property: JsonPropertyName("zipCode")] string? ZipCode,
[property: JsonPropertyName("country")] string Country,
[property: JsonPropertyName("country")] string? Country,
[property: JsonPropertyName("countryAlpha2Code")] string CountryAlpha2Code
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void DeleteInvitations(IEnumerable<Guid> invitationIds) =>
data.Company.AddressId,
data.Company.Address!.Streetname,
data.Company.Address.City,
data.Company.Address.Country!.CountryNameDe,
data.Company.Address.Country!.CountryLongNames.Where(cln => cln.ShortName == "de").Select(cln => cln.LongName).SingleOrDefault(),
data.Company.CompanyIdentifiers.Select(x => x.UniqueIdentifierId),
data.Company.CompanyAssignedRoles.Select(companyAssignedRole => companyAssignedRole.CompanyRoleId)),
data.Consents.Select(consent =>
Expand Down Expand Up @@ -262,7 +262,7 @@ public IQueryable<CompanyApplication> GetAllCompanyApplicationsDetailsQuery(stri
companyApplication.Company.Address.Streetadditional,
companyApplication.Company.Address.Streetnumber,
companyApplication.Company.Address.Zipcode,
companyApplication.Company.Address.Country!.CountryNameDe,
companyApplication.Company.Address.Country!.CountryLongNames.Where(cln => cln.ShortName == "de").Select(cln => cln.LongName).SingleOrDefault(),
companyApplication.Company.CompanyAssignedRoles.SelectMany(assigned =>
assigned.CompanyRole!.AgreementAssignedCompanyRoles.Select(x =>
new AgreementsData(
Expand Down Expand Up @@ -359,7 +359,7 @@ public IQueryable<CompanyApplication> GetAllCompanyApplicationsDetailsQuery(stri
ca.Company.BusinessPartnerNumber,
ca.Address.Region,
ca.Address.Zipcode,
ca.Address.Country!.CountryNameEn,
ca.Address.Country!.CountryLongNames.Where(cln => cln.ShortName == "en").Select(cln => cln.LongName).SingleOrDefault(),
ca.Address.CountryAlpha2Code),
ca.CompanyIdentifiers.Select(ci => new UniqueIdData(ci.UniqueIdentifier!.Label, ci.Value))))
.SingleOrDefaultAsync();
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2f4aaef

Please sign in to comment.