`Delivery.source()` should check for duplicates
agrathwohl opened this issue · 0 comments
agrathwohl commented
Currently, it is possible to add more than one Source
to a Delivery
even if each source.uri
value remains the same.
- Check for duplicative
uri
andbyteLength
properties before adding the newSource
to theDelivery
- When a duplicate is found, return the already-existent
Source
from that delivery