Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable validation phases #54

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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