Skip to content

Provide a way to pass initialValue between resolver calls #209

@theobat

Description

@theobat

The signature of a resolver in the spec is the following:

// for mutations
ExecuteMutation(mutation, schema, variableValues, initialValue)
// for queries
ExecuteQuery(query, schema, variableValues, initialValue)
// for fields
ResolveFieldValue(objectType, objectValue, fieldName, argumentValues)

source for queries
source for mutations
source for fields

As far as I understand (and as mentioned in #203) there is not concept of initialValuein graphql-api yet. This issue should be used to study the changes required to get compliant with the spec on those signatures (or, at least closer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions