#003: Add concon:targetDataset support for federated entity search #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/003-federated-entity-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3
What
Adds support for
concon:targetDatasetin SHACL property shapes,allowing
sh:classautocomplete to search a different datasetinstead of the current one.
Changes
src/shacl.rstarget_dataset: Option<String>field toPropertyFieldstructparse_property_shapesto readconcon:targetDatasetfrom property shapestest_parse_target_dataset_extensionsrc/routes/datasets.rstarget_dataset: Option<String>toSearchParams/_api/searchnow searches the target dataset when specified;returns
[]silently if the target dataset doesn't existtest_search_in_target_dataset,test_search_target_dataset_not_found_returns_emptyPending
entity_editor.htmlto passtarget_datasetin autocomplete requests (to be added before merge)
Tests
49 passing, 0 failing
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.