This module enables GraphQL integration for Drupal's address functionality. It allows you to expose and query address field data through your GraphQL API. You can configure existing address fields or integrate custom logic using the provided data producers.
This module adds GraphQL support to the address module.
Quickstart:
- Install the module using Composer.
- Enable the "GraphQL Address" SchemaExtension on your graphQL server edit page.
- Configure any Address field on an entity to be resolved by the provided 'graphql_address_field_values' DataProducer.
- 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.