Error: ** (Ash.Error.Invalid) Bread Crumbs: > Error returned from: Cvs.Client.Info.create > Exception raised in bulk create: Cvs.Client.Dossier.createInvalid Error* Invalid value provided for zipcode: moet een geldige postcode zijn.Value: "invalid"
Error: ** (Ash.Error.Invalid) Bread Crumbs: > Error returned from: Cvs.Client.Info.create > Exception raised in bulk create: Cvs.Client.Dossier.createInvalid Error* Invalid value provided for zipcode: moet een geldige postcode zijn.Value: "invalid"
But the creation of the dossier is not rolled back..
If I run the non-bulk action it properly rolls back the entire transaction and the Dossier is not created:
Adds regression tests for a bug where run_after_action_hooks in bulk actions does not call Ash.DataLayer.rollback when manage_relationships fails Tests cover bulk_create (including upserts...
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.