Problem/Motivation

To be able to expose the VG Wort field in a GraphQL schema, a dataproducer and a VG Wort field schema is required. The Drupal GraphQL module in version 4 does not automatically expose all fields, and developers have to do this manually for each instance.

To make this easier and in a unified way, the vgwort module could provide the required data producer and schema extensions.

Proposed resolution

Provide the data producer

Remaining tasks

  • Implement a dataproducer, that resolves the vgwort_counter_id.value and vgwort_counter_id.url properties.
  • Add a GraphQL schema for and the vgwort field and use the dataproducer to resolve these fields
  • Document how to use this in your own projects

User interface changes

API changes

Data model changes

Issue fork vgwort-3325982

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

daniel.bosen created an issue. See original summary.

daniel.bosen’s picture

Status: Active » Needs review
alexpott’s picture

Status: Needs review » Reviewed & tested by the community

Seems like a nice - not too heavy integration and it is tested so +1.

  • 85c947b committed on 2.0.x
    Issue #3325982 by daniel.bosen: Add integration with GraphQL module
    
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.