Default Fake Resolver
class DefaultFakeResolver(val types: List<CompiledNamedType>) : FakeResolver
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Resolves a leaf (scalar or enum) type. Note that because of list and not-nullable types, the type of context.mergedField is not always the leaf type. You can get the type of the leaf type with:
Link copied to clipboard
Resolves the size of a list. Note that lists might be nested. You can use context.path to get the current nesting depth
Link copied to clipboard
open override fun resolveMaybeNull(context: FakeResolverContext): Boolean
Content copied to clipboard
Link copied to clipboard