mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 21:13:10 +12:00
docs: Fix typo in Changes docs (#1260)
This commit is contained in:
parent
60630f23a6
commit
d858044037
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ Changes can support being run on batches of changesets, using the `c:Ash.Resourc
|
|||
|
||||
> ### batch_change/3 must be defined {: .warning}
|
||||
>
|
||||
> `c:Ash.Resource.Change.before_batch/3` must be defined for `c:Ash.Resource.Change.before_batch/3` and `c:Ash.Resource.Change.after_batch/3` to be called!
|
||||
> `c:Ash.Resource.Change.batch_change/3` must be defined for `c:Ash.Resource.Change.before_batch/3` and `c:Ash.Resource.Change.after_batch/3` to be called!
|
||||
|
||||
For some changes, this may not be necessary at all, i.e the `Slugify` example has no benefit from batching. If no batch callbacks are added, your change will be run on a loop over the changesets. For the sake of example, however, we will show what it might look like to implement batching for our `Slugify` example.
|
||||
|
||||
|
|
Loading…
Reference in a new issue