Skip to content

Commit

Permalink
Disable validation phases
Browse files Browse the repository at this point in the history
  • Loading branch information
kdawgwilk committed Jun 26, 2022
1 parent a8c828d commit c8aa666
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/absinthe/federation/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ defmodule Absinthe.Federation.Schema do
def pipeline(pipeline) do
Pipeline.insert_after(pipeline, TypeImports, [
__MODULE__.Phase.AddFederatedTypes,
__MODULE__.Phase.AddFederatedDirectives,
__MODULE__.Phase.Validation.KeyFieldsMustExist,
__MODULE__.Phase.Validation.KeyFieldsMustBeValidWhenExtends
__MODULE__.Phase.AddFederatedDirectives
# __MODULE__.Phase.Validation.KeyFieldsMustExist,
# __MODULE__.Phase.Validation.KeyFieldsMustBeValidWhenExtends
])
end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
defmodule Absinthe.Federation.Schema.KeyFieldsMustBeValidWhenExtendsTest do
use ExUnit.Case, async: true

@moduletag :skip

@valid_schema """
defmodule ValidSchemaWhenExtends do
use Absinthe.Schema
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
defmodule Absinthe.Federation.Schema.KeyFieldsMustExistTest do
use Absinthe.Federation.Case, async: true

@moduletag :skip

@valid_schema """
defmodule ValidSchema do
use Absinthe.Schema
Expand Down

0 comments on commit c8aa666

Please sign in to comment.