Skip to content

Commit

Permalink
Revert "Support implicit output lookups for interface types"
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIlyenko committed Dec 3, 2017
1 parent d19075f commit 865c3ff
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -19,10 +19,6 @@ object GraphQLOutputTypeLookup extends GraphQLOutputTypeLookupLowPrio {
implicit def optionLookup[T : GraphQLOutputTypeLookup] = new GraphQLOutputTypeLookup[Option[T]] {
def graphqlType = OptionType(implicitly[GraphQLOutputTypeLookup[T]].graphqlType)
}

implicit def interfaceLookup[T](implicit int: InterfaceType[_, T]) = new GraphQLOutputTypeLookup[T] {
override def graphqlType = int
}
}

trait GraphQLOutputTypeLookupLowPrio {
Expand Down

0 comments on commit 865c3ff

Please sign in to comment.