We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0975ea5 commit 968ea19Copy full SHA for 968ea19
lib/ash/query/aggregate.ex
@@ -396,7 +396,7 @@ defmodule Ash.Query.Aggregate do
396
end
397
398
defp validate_supported(resource, kind, nil) do
399
- if Ash.DataLayer.data_layer_can?(resource, {:aggregate, kind}) do
+ if Ash.DataLayer.data_layer_can?(resource, {:query_aggregate, kind}) do
400
:ok
401
else
402
{:error, AggregatesNotSupported.exception(resource: resource, feature: "using")}
lib/ash/resource.ex
@@ -5,6 +5,12 @@ defmodule Ash.Resource do
5
[Resource DSL documentation](dsl-ash-resource.html)
6
"""
7
8
+ def foo do
9
+ # x + y + z
10
+
11
+ 1 - 2 - 3
12
+ end
13
14
@type t :: module
15
@type record :: struct()
16
0 commit comments