sul-dlss / dlme-transform

Transforms raw DLME metadata to DLME intermediate representation
Apache License 2.0
0 stars 2 forks source link

Update all traject config settings and remove duplicate validation #1117

Closed jacobthill closed 2 months ago

jacobthill commented 3 months ago

Traject now has a setting to allow/disallow duplicates, etc. All configs should be updated to these settings:

  provide 'allow_duplicate_values', false
  provide 'allow_nil_values', false
  provide 'allow_empty_fields', false

If allow_duplicate_values is set to false, traject will discard any duplicates so we can remove our own checks for duplicate values. This will quite the logging since we still log the duplicate before traject removes it.