Upgrade to Pro — share decks privately, control downloads, hide ads and more …

De edele kunst van het pull request

De edele kunst van het pull request

devNetNoord 2023

devNetNoord

October 26, 2023
Tweet

More Decks by devNetNoord

Other Decks in Programming

Transcript

  1. 16 var linksAndErrors = manifest 17 .GetItemResources() 18 .Where(HasLomMetadata) 19

    .Select(ir => (ct: ir.metadata.OfType<ClassficationType>(), href: ir.href)) 20 .SelectMany(tuple => GetMetadataLinks( 21 tuple.ct, tuple.href.Split('/').Last(), metadataContext)) 22 .ToList(); 23 24 var (links, errors) = SplitResults(linksAndErrors); 25 return metadataContext with { MetadataLinks = links, MetadataErrors = errors }; Is deze wijziging oké?
  2. 16 var linksAndErrors = manifest 17 .GetItemResources() 18 .Where(HasLomMetadata) 19

    .Select(ir => (ct: ir.metadata.OfType<ClassficationType>(), href: ir.href)) 20 .SelectMany(tuple => GetMetadataLinks( 21 tuple.ct, tuple.href.Split('/').Last(), metadataContext)) 22 .ToList(); 23 24 var (links, errors) = SplitResults(linksAndErrors); 25 return metadataContext with { MetadataLinks = links, MetadataErrors = errors }; Kun je dat beoordelen op basis van de code alleen?
  3. << Description of the changes in this PR. Make sure

    to mention the (design) choices you made and why. >> # Checklist - [ ] The title of the PR is as follows: <FEATURE|BUG|REFACTOR> <Short description formulated as command>. - [ ] The description explains *why* this PR was made, what the advantages of this change are. - [ ] The descriptions explains *what choices* were made *and why* the current implementation was chosen. - [ ] Unit tests validate this change.