Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix issues in
Ash.Generator.generate_many/2
(#1703)
* docs(`Ash.Generator`): Fix example code blocks to render // correctly * fix(`Ash.Generator`): Don't error if no `after_action` is provided to `generate_many` * fix(`Ash.Generator`): Reuse the changeset actor when calling `bulk_create` * chore(`Ash.Generator`): Read and send notifications created when generating many records This prevents warnings in tests when using `generate_many` - `[warning] Missed <x> notifications in action <action>` * chore(`Ash.Generator`): Raise an error if the `bulk_create` command in `generate_many` wasn't a complete success A partial success would mean less records were inserted than were requested, definitely leading to buggy/flaky tests
- Loading branch information