graphprotocol / graphprotocol/hypergraph
Schema API improvements
Abierto
@nikgraf ya está trabajando en esto.
Desde el 6/11/2024.
- Lenguaje dominante
- TypeScript
- Estrellas
- 22
- Forks
- 12
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
createEntity
- allow to created nested entities
- allow to created nested entities (recursively)
- typing for creating nested entities
- typing for creating nested entities (recursively)
- schema validation for nested entities?
- relations should be defined on both end
- decide and implement how relations are stored
- allow to provide IDs for relations
["abc", "def"] - allow to mix objects and IDs for relations
["abc", { id: "def", name: "lala" }](ifid:defexists it's an upsert for the attributes that are included) - make all fields optional
- add implicit entity properties (e.g. name, description, cover)
- make sure to only return get fields which are defined in the query
useQuery
- resolve nested entities
- resolve nested entities (recursively)
- typing for nested entities
- typing for nested entities (recursively)
- filters for text, number, checkbox
- reverse relationship queries?
- make all fields optional
- always include the id and types
- return array instead of object
- handle circular dependencies
- add implicit entity properties (e.g. name, description, cover)
getById
- implement
updateEntity
- implement
deleteEntity
- implement
setTriple
- define API
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.