Skip to content

Commit d6bb54a

Browse files
committed
chore: remove raised error
1 parent d1a434b commit d6bb54a

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

lib/sql_implementation.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ defmodule AshPostgres.SqlImplementation do
239239
do: nil
240240

241241
def parameterized_type(type, constraints, no_maps?) do
242-
if type == :array do
243-
raise "WHAT"
244-
end
245-
246242
if Ash.Type.ash_type?(type) do
247243
cast_in_query? =
248244
if function_exported?(Ash.Type, :cast_in_query?, 2) do

lib/types/ltree.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ defmodule AshPostgres.Ltree do
55
doc: """
66
Escape the ltree segments to make it possible to include characters that
77
are either `.` (the separation character) or any other unsupported
8-
character like `-` (Postgres <= 15).
9-
8+
character like `-` (Postgres <= 15).
9+
1010
If the option is enabled, any characters besides `[0-9a-zA-Z]` will be
11-
replaced with `_[HEX Ascii Code]`.
12-
11+
replaced with `_[HEX Ascii Code]`.
12+
1313
Additionally the type will no longer take strings as user input since
1414
it's impossible to decide between `.` being a separator or part of a
15-
segment.
16-
15+
segment.
16+
1717
If the option is disabled, any string will be relayed directly to
1818
postgres. If the segments are provided as a list, they can't contain `.`
1919
since postgres would split the segment.

0 commit comments

Comments
 (0)