This project is not covered by Drupal’s security advisory policy.
Data Pipelines
A low-level API that integrates with the Typed Data API to provide data processing and validation.
The module provides a queued processing mechanism, as well.
Pipeline
A pipeline processes a source data against a mapping and returns the processed result.
Mapping
A mapping is a collection of definitions that represent:
- The source property
- The destination property
- The manipulators to transform and process the value.
Drupal core issues / wishlist
- RecursiveContextualValidator should handle exceptions when validating nodes recursively
- Add missing type hint to TypedDataInterface::createInstance() method
- Setters on
DataDefinition,ListDataDefinition, andMapDataDefinitionare not on any interfaces. -
ListDataDefinitionis useless withtoArray. -
MapDataDefinitiondoes not embed its properties intoArray - Interface for
\Drupal\Core\TypedData\TypedDataTrait, likeTypedDataManagerAwareInterface. -
\Drupal\Core\TypedData\ComplexDataDefinitionBase::$propertyDefinitionsshould default to[]notnull. - Map data definition properties are not validated if its empty
Interface replaces this:
# \Drupal\Core\TypedData\TypedDataManager::createDataDefinition if (method_exists($data_definition, 'setTypedDataManager')) { $data_definition->setTypedDataManager($this); }
List toArray problems. This fails as type is missing.
self::assertEquals( ['type' => 'list', 'required' => TRUE], $sut->serialize( ListDataDefinition::createFromItemType('string') ->setRequired(TRUE) ), );
Supporting organizations:
Sponsor of development, support, and maintenance
Project information
- Created by mglaman on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
