AshCsv - duplication on `upsert?: true`
I might be doing something wrong but when using AshCsv with
upsert?: true
on a create action, I get duplicates in the CSV file. For context, here's the ressource
This happens when I call WorkoutManager.Exercises.Equipment.upsert!("rings")
multiple times. The behaviour I was expecting was that if rings
was already in the file, it wouldn't duplicate it but it inserts a duplicate.3 Replies
🤔 it should
looking into it
okay, just released a fix
Awesome! Thanks for looking into it so quickly!
Tried to upgrade to
0.9.3
but it seems like ash_csv
isn't compatible with newer versions of ash
? 🤔 Got the following error when running mix deps.update ash_csv
:
one sec, lemme check
just reelased
0.9.4