drupal-graphql / drupal-graphql/graphql
The plugin doesn't support custom complex data types and lists of complex data types
Open
3.x
- Dominant language
- PHP
- Stars
- 287
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
The following property definitions of a computed field fail with `Missing type list` where `key_value` is a custom (complex) data type:
```
public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
$properties['tag'] = DataDefinition::create('string')
->setLabel(t('Tag'))
->setRequired(TRUE);
$properties['attributes'] = ListDataDefinition::create('key_value')
->setLabel(t('Attributes'))
->setRequired(TRUE);
return $properties;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.