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 7604ca6 commit c2527d3Copy full SHA for c2527d3
lib/resource/resource.ex
@@ -2105,7 +2105,9 @@ defmodule AshGraphql.Resource do
2105
type = managed_relationship.type_name || default_managed_type_name(resource, action, argument)
2106
2107
fields =
2108
- check_for_conflicts!(fields, managed_relationship, resource)
+ fields
2109
+ |> check_for_conflicts!(managed_relationship, resource)
2110
+ |> Enum.sort_by(fn field -> field.name end)
2111
2112
if Enum.empty?(fields) do
2113
raise """
0 commit comments