Skip to content

Provide a way to pass initialValue between resolver calls #209

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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