assemblee-virtuelle / assemblee-virtuelle/semapps

Allow the semantic data provider to return ldo objects

Open
#1,191 0 comments 0 reactions 0 assignees View on GitHub
data-provider feature
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

Instead of returning anonymous objects, we could allow the semantic data provider to return objects of type [ldo](https://github.com/o-development/ldo). The advantage is that the object would be typed, and that we wouldn't be able to use properties that don't exist. See:

https://o-development.github.io/ldo.js.org/api/ldo/#simple-example

This new library could also be used to handle updates (at the bottom of the example, there is an example of the `.toSparqlUpdate` method)

Alternative option: https://github.com/assemblee-virtuelle/semapps/issues/1122

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no repository files or tests. Start by locating the semantic data provider and reading the linked LDO simple example, then compare the alternative issue; done would require an agreed way to return typed LDO objects and handle updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.