This module adds GraphQL support to the address module.

Version compatibility:

  • For graphql 3.x use graphql_address 1.x.
  • For graphql 4.x use graphql_address 2.x

Version 2

V2 of this module is actively maintained and it needs your input to craft it into a full release. Try it out, use the issue queue for bugs/requests/feedback. We also monitor the #graphql channel on Drupal Slack.

Quickstart:

  1. Install the module using Composer.
  2. Enable the "GraphQL Address" SchemaExtension on your graphQL server edit page.
  3. Configure any Address field on an entity to be resolved by the provided 'graphql_address_field_values' DataProducer.
  4. Include the field on the relevant Type to resolve as AddressAddress

Or if you prefer, you can replace or extend the included SchemaExtension with your own code, the DataProducers should still be useful to you.

Version 1

V1 of this module is not currently under active development due to time constraints, however the issue queue will be monitored by the 2.x maintainer and patches are welcome.

Supporting organizations: 

Project information

Releases