GraphQLResponse
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.graphql/GraphQLResponse
GraphQLResponse
Section titled “GraphQLResponse”[jvm]
@Serializable
data class GraphQLResponse<T>(val data: T? = null, val errors: List<GraphQLError>? = null)
A GraphQL response. Port of GraphQLResponse<T> from sdk/src/types.ts.
Constructors
Section titled “Constructors”| GraphQLResponse | [jvm] constructor(data: T? = null, errors: List<GraphQLError>? = null) |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| data | [jvm] val data: T? |
| errors | [jvm] val errors: List<GraphQLError>? |