oliyh / superlifter

A DataLoader for Clojure/script
Eclipse Public License 1.0
178 stars 12 forks source link

Warn and stop buckets when overwritten #15

Closed glittershark closed 4 years ago

glittershark commented 4 years ago

When adding a bucket with an ID that's already used, currently the previous bucket is just silently overwritten. This causes issues if the bucket has for example an interval trigger, since that continues to run unchecked indefinitely, which was the original issue described in #13 This change stops any overwritten bucket and logs a warning.

oliyh commented 4 years ago

Thanks for this, it's available in 0.1.2-SNAPSHOT.