leto library

Classes

Cache<K, T>
Cache abstraction
CacheEntry
CacheExtension
CacheInfo
CacheState
DocumentNode
ExecutionTracing
ExecutionTracingBuilder
GraphQL
A Dart implementation of a GraphQL server.
GraphQLConfig
Configuration properties for GraphQL, use GraphQL.fromConfig for instantiating an executor from this
GraphQLExtension
Extensions implement additional functionalities to the server's parsing, validation and execution.
GraphQLLog
A log with information about the execution of GraphQL requests or subscription events
GraphQLPersistedQueries
Save network bandwidth by storing GraphQL documents on the server and not requiring the client to send the full document String on each request.
GraphQLResult
A result from a GraphQL request.
GraphQLTracingExtension
Apollo Tracing is a GraphQL extension for performance monitoring.
LoggingExtension
Extension that logs all requests and subscription events
LruCacheSimple<K, T>
Least Recently Used (LRU) cache implementation.
MapCache<K, V>
Simple map cache using an in memory Map for its storage
MapErrorExtension
A simple extension for mapping resolver errors
ResolverTracing
ScopedHolder
A Object which holds a scope
ScopedMap
A map with values in different scopes
ScopedOverride<T>
An override of ref with the value returned from create.
ScopedRef<T>
A reference to a scoped value of type T
SubscriptionEvent
Wrapper around a value from a GraphQL Subscription Stream.
ThrownError
An error throw during the processing of a GraphQL request
Tracing
TracingBuilder
TracingItem
TracingItemBuilder
TracingItemI
Val<T>
Utility for nullable values in copyWith methods

Enums

OperationType
Enumeration of all known GraphQL operation types.
ThrownErrorLocation
The execution location where this exception was thrown

Functions

getCacheInfo(Ctx ctx) CacheInfo?

Typedefs

LogFunction = void Function(GraphQLLog)
A callback for logging a GraphQLLog from a request execution

Exceptions / Errors

GraphQLError
An error that may occur during the execution of a GraphQL query.
GraphQLException
An exception that occurs during execution of a GraphQL query.
InvalidOperationType