Skip to content

Commit 7be8af4

Browse files
committed
chore: format
1 parent 03d26cb commit 7be8af4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/verifiers/prevent_multidimensional_array_aggregates.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ defmodule AshPostgres.Verifiers.PreventMultidimensionalArrayAggregates do
3636
Postgres does not support multidimensional arrays with differing lengths internally. In the future we may be able to remove this restriction
3737
for the `:first` type aggregate, but likely never for `:list`. In the meantime, you will have to use a custom calculation to get this data.
3838
""",
39-
location: Ash.Resource.Info.aggregate(resource, aggregate.name) |> Spark.Dsl.Entity.anno()
39+
location:
40+
Ash.Resource.Info.aggregate(resource, aggregate.name) |> Spark.Dsl.Entity.anno()
4041

4142
_ ->
4243
:ok

lib/verifiers/validate_identity_index_names.ex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ defmodule AshPostgres.Verifiers.ValidateIdentityIndexNames do
1515
message: """
1616
Identity #{identity} has a name that is too long. Names must be 63 characters or less.
1717
""",
18-
location: Spark.Dsl.Transformer.get_opt_anno(dsl, [:postgres, :identity_index_names], identity)
18+
location:
19+
Spark.Dsl.Transformer.get_opt_anno(dsl, [:postgres, :identity_index_names], identity)
1920
end
2021
end)
2122

@@ -38,7 +39,8 @@ defmodule AshPostgres.Verifiers.ValidateIdentityIndexNames do
3839
3940
Identities: #{inspect(Enum.map(identities, & &1.name))}
4041
""",
41-
location: Spark.Dsl.Transformer.get_section_anno(dsl, [:postgres, :identity_index_names])
42+
location:
43+
Spark.Dsl.Transformer.get_section_anno(dsl, [:postgres, :identity_index_names])
4244

4345
{name, [identity]} ->
4446
if String.length(name) > 63 do

0 commit comments

Comments
 (0)