drupal-graphql / drupal-graphql/graphql

Add examples for ENUMs implementations

Open
#1,359 0 comments 0 reactions 0 assignees View on GitHub
4.x documentation
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

I am trying to add Enums for the schema in the `.graphqls` file but I see that version 4 doesn't include any thing related to the [GraphQL Enums](https://graphql.org/learn/schema/#enumeration-types) while previous version 3 includes [Enum](https://github.com/drupal-graphql/graphql/tree/8.x-3.x/src/Plugin/GraphQL/Enums) implementations like [graphql_responsive_image](https://git.drupalcode.org/project/graphql_responsive_image/-/blob/8.x-1.x/src/Plugin/GraphQL/Fields/Entity/Fields/Image/ResponsiveImageStructured.php?ref_type=heads#L24) implemented such thing.

I am not a graphql expert so may be I am missing it in the documenation so please guide me regarding it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.