mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
docs: add missing argument to calculate example (#633)
This commit is contained in:
parent
5d20af82c3
commit
924b62130d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ defmodule Ash.Resource.Calculation.Builtins do
|
|||
|
||||
## Examples
|
||||
|
||||
calculate :full_name, concat([:first_name, :last_name], " ")
|
||||
calculate :full_name, :string, concat([:first_name, :last_name], " ")
|
||||
"""
|
||||
@spec concat(keys :: list(atom), separator :: String.t()) :: Ash.Resource.Calculation.ref()
|
||||
def concat(keys, separator \\ "") do
|
||||
|
|
Loading…
Reference in a new issue