use :text as format
This commit is contained in:
parent
56d8031c25
commit
4b2fe9d0b8
|
|
@ -11,7 +11,7 @@ defmodule Isn.Extension do
|
|||
do: Enum.reduce(@isn, [], fn(t, ack) -> ack ++ [type: t] end)
|
||||
|
||||
def format(_),
|
||||
do: :string
|
||||
do: :text
|
||||
|
||||
def encode(%TypeInfo{type: type}, binary, _types, _opts) when type in @isn,
|
||||
do: binary
|
||||
|
|
|
|||
Loading…
Reference in New Issue