mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-21 13:53:20 +12:00
9 lines
192 B
Elixir
9 lines
192 B
Elixir
|
defmodule AshGraphql.Test.StaticCalculation do
|
||
|
@moduledoc false
|
||
|
use Ash.Calculation, type: :string
|
||
|
|
||
|
def calculate(records, _, _) do
|
||
|
Enum.map(records, fn _ -> "static" end)
|
||
|
end
|
||
|
end
|