mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 13:03:14 +12:00
14 lines
372 B
Elixir
14 lines
372 B
Elixir
defmodule AshPostgres.Type.StringWrapper do
|
|
@moduledoc false
|
|
use Ash.Type
|
|
|
|
@impl true
|
|
def storage_type(_), do: :text
|
|
|
|
@impl true
|
|
defdelegate cast_input(value, constraints), to: Ash.Type.String
|
|
@impl true
|
|
defdelegate cast_stored(value, constraints), to: Ash.Type.String
|
|
@impl true
|
|
defdelegate dump_to_native(value, constraints), to: Ash.Type.String
|
|
end
|