Skip to content

Commit

Permalink
Fix link directive args (#101)
Browse files Browse the repository at this point in the history
The `@link` directive's import arg is typed incorrectly according to the
federation spec. This commit fixes it.
  • Loading branch information
kzlsakal authored Aug 12, 2024
1 parent 2ae5951 commit 065e255
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ defmodule Absinthe.Federation.Schema.Prototype.FederatedDirectives do
arg :url, :string
arg :as, :string
arg :for, :link_purpose
arg :import, :link_import
arg :import, list_of(:link_import)
repeatable true
on [:schema]
end
Expand Down

0 comments on commit 065e255

Please sign in to comment.