Argument #2 ($context) must be of type

Created on 5 February 2023, almost 2 years ago
Updated 25 January 2024, 10 months ago

I'm finding that when trying to use various fields in the explorer I'm getting the following error

"Drupal\\graphql_core_schema\\CoreComposableResolver::resolveItem(): Argument #2 ($context) must be of type Drupal\\graphql\\GraphQL\\Execution\\FieldContext, Drupal\\graphql\\GraphQL\\Execution\\ResolveContex

for example

query MyQuery {
  entityQuery(entityType: NODE) {
    items {
      ... on NodeArticle {
        path {
          alias
        }
      }
    }
  }
}
query MyQuery {
  entityQuery(entityType: NODE) {
    items {
      ... on NodeArticle {
        fieldContent {
          ... on ParagraphButton {
            id
            fieldLink {
              uri {
                path
              }
            }
          }
        }
      }
    }
  }
}

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024