Skip to content

Commit 893f510

Browse files
committed
Amend ExampleSchema to import Defaultable correctly
1 parent b8c1595 commit 893f510

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/ExampleSchema.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ import GraphQL.API
8585
, Interface
8686
, Union
8787
, (:>)
88+
, Defaultable(..)
8889
)
89-
-- XXX: This really shouldn't be part of Resolver, since whether or not a
90-
-- thing has a default is part of the API / Schema definition.
91-
import GraphQL.Resolver (Defaultable(..))
9290
import GraphQL.Value (pattern ValueEnum, unName)
9391
import GraphQL.Value.ToValue (ToValue(..))
9492

0 commit comments

Comments
 (0)