Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-516 - SupplierInformation mapping added #537

Merged
merged 25 commits into from
Sep 2, 2024
Merged

Conversation

maciej-goaco
Copy link
Collaborator

No description provided.

@maciej-goaco maciej-goaco marked this pull request as draft August 31, 2024 14:03
.ForMember(m => m.Telephone, o => o.MapFrom(m => m.Telephone))
.ForMember(m => m.Url, o => o.MapFrom(m => !string.IsNullOrWhiteSpace(m.Url) ? new Uri(m.Url) : default));

CreateMap<OrganisationInformation.PartyRole, OrganisationInformation.PartyRole>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakzal and @maciej-goaco
I can see lots of mapping done for Supplier Information , the supplier information holds the following data as well but I cannot see that is mapped. I am not sure should this be mapped as well? There is no description in the PR :)

public List Qualifications { get; set; } = [];
public List TradeAssurances { get; set; } = [];
public LegalForm? LegalForm { get; set; }

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be part of the detail of supplier information. Good spot 👍

@jakzal jakzal marked this pull request as ready for review September 2, 2024 07:58
@jakzal jakzal merged commit 260aa90 into main Sep 2, 2024
8 checks passed
@jakzal jakzal deleted the feature/dp-516-mappings branch September 2, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants