« get me outta code hell

data: withReverse{Reference,Contribution}List: better exiting - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/things/flash
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-24 17:08:45 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-01 07:06:07 -0300
commit85e9eb56addf3396a6fc84addbe79b6493d4a9b3 (patch)
treef4606aa18f6345505e7a17a5b52aaa8b446ce863 /src/data/composite/things/flash
parentb0ca5254cc40c504af34797a26c79da054e95093 (diff)
data: withReverse{Reference,Contribution}List: better exiting
An existing test for withAlbum (which is semi-newly based on
withUniqueReferencingThing, and thus withReverseReferenceList)
indicates that if we just can't *find* the album in a provided
data array, that's not an exit condition. This commit adapts
withReverseReferencingList to respect that when the data list
is empty.

(Treating an empty array as the same thing as an array that
 isn't provided at all - the existing behavior - is really just
 a bug!)
Diffstat (limited to 'src/data/composite/things/flash')
0 files changed, 0 insertions, 0 deletions