defradb
defradb copied to clipboard
DefraDB is a Peer-to-Peer Edge Database. It's the core data storage system for the Source Network Ecosystem, built with IPLD, LibP2P, CRDTs, and Semantic open web properties.
currently we allow filtering of documents by related objects: ```graphql query { Author(filter: { books: {rating: {_gt: 3}} }) { name books { name } } } ``` But there...
A node that has a permission to access an encrypted document should be able to retrieve an encryption key from peer.
Node p2p connections in tests are done through a bootstrapping process that does not guarantee all nodes are properly connected. Failed test due to node connection failure: ``` === Failed...
Found by David, e.g.: ######### Schema ```gql type TypeA { test: String } type TypeB { test: String ref: TypeA @primary } ``` ######### Create Types ```gql mutation create_typeA {...
Found by David, e.g.: ``` type Foo { name: String @index(unique: true) bar: [Bar] } type Bar { points: Int foo: Foo @index } // create docs query { Bar(...
Currently SourceHub errors to not work with `errors.Is` and are checked with `strings.Contains`. Use `errors.Is` when SourceHub supports it. There is at least one todo in the codebase as of...
At the moment it is possible to filter secondary objects by certain criteria in primary objects. Like so: ```graphql query { Author(filter: {published: {rating: {_gt: 4.8}}, age: {_gt: 63}}) {...
At the moment the field ids are encoded as string, which takes up more storage space than is required, and may expose us to fetcher bugs in the future similar...
Currently, we only log the base URL of our API ```shell Jun 28 10:28:10.672 INF node Providing HTTP API at http://127.0.0.1:9181. ``` Although the docs show what the GQL endpoint...
Should be static, allowing an SDL to be created from CollectionDefinitions not yet saved in the database. The generated SDL should be complete - defining directives, enums, commit stuff, etc....