graphprotocol / graphprotocol/hypergraph

Schema API improvements

オープン
#8 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@nikgraf がすでに取り組んでいます。

2024年11月6日 から。

主要言語
TypeScript
スター
22
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

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" }] (if id: def exists 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。