Skip to content

Improve RDF and composite data provider usage, make it simpler to implement metadata provider #120

Merged
AlexeyMz merged 3 commits into
masterfrom
simplify-authoring-provider
Mar 10, 2026
Merged

Improve RDF and composite data provider usage, make it simpler to implement metadata provider #120
AlexeyMz merged 3 commits into
masterfrom
simplify-authoring-provider

Conversation

@AlexeyMz
Copy link
Copy Markdown
Member

@AlexeyMz AlexeyMz commented Mar 10, 2026

  • Provide translation and current language to MetadataProvider.{createEntity, createRelation}.
  • Allow to clear RdfDataProvider, add option to force datatype properties.
  • Make entity/relation origin source configurable in CompositeDataProvider.

…ties:

* Add `RdfDataProvider.clear()` to clear all added graphs to the provider.
* Add `datatypePredicates` option for `RdfDataProvider` to explicitly place connected `NamedNode` property values into entity/relation properties as if they were literals.
* Export `Rdf.compareTerms()` to be able to easily sort an array of terms or quads.
…ider`:

* Add `originProperty` option to `CompositeDataProvider` and `origin` to `DataProviderDefinition` to attach information about source provider for an entity or relation as a property value:
* `DataProviderDefinition.origin` replaces previous non-configurable `name` prop (which is marked as deprecated now).
@AlexeyMz AlexeyMz merged commit 18cdf01 into master Mar 10, 2026
4 checks passed
@AlexeyMz AlexeyMz deleted the simplify-authoring-provider branch March 10, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant