Package graphql.util

Interface NodeAdapter<T>

Type Parameters:
T - the generic type of object
All Known Implementing Classes:
AstNodeAdapter, GraphQLSchemaElementAdapter

@PublicApi public interface NodeAdapter<T>
Adapts an arbitrary class to behave as a node. We are using an Adapter because we don't want to require Nodes to implement a certain Interface.