hydra
hydra copied to clipboard
A Substrate indexing framework
The following input schema: ``` type Book { library: Library! ... } type Library @entity { books: [Book!]! @derivedFrom(field: "library") ... } ``` incorrectly generates property as optional in `library.model.d.ts`:...
Variants can't be initialized via the constructor and their properties must be set after the object creation. Add the same possibility to initialize variants in the constructor the same way...
# Overview Here we are attempting to keep an ongoing list of problems currently identified in Hydra, including how those problems impact other Atlas products. :x: means product is not...
I'm running into an issue when trying to query both sides of a many-to-many relationship. This happens both on version `3.1.0-alpha.1` and `3.1.0-alpha.9` (with the most recent https://github.com/Joystream/hydra/pull/453 fixes) **Setup:**...
There is a general lack of in-code commentaries in Hydra packages. For some parts, it's hard to understand the reasoning behind the mechanism that brings unnecessary burden, especially when refactoring...
It looks like the neither setting a field to `undefined` nor using `delete entity.field` actually unsets the value in the database. See: https://github.com/typeorm/typeorm/issues/2934 This conflicts with the TypeScript definitions of...
Running `yarn lint` produces over 100 warnings. Fix the warnings and/or update lint settings to pass linting without problems.
By default, `BN.toJSON()` uses hex encoding, and thus a variant field of `BN` type is serialized as a hex string. When queried, the query-node then returns a hex string instead...
Warthog now natively support concrete JSON types, which we use for variants: https://github.com/goldcaddy77/warthog/commit/5e137ced2a386509ac449e44562cd375699da6a4 After the upgrade, we should revisit the variant implementation, especially the hack around adding extra fields when...
Probably we should compile mappings into a WASM code and execute them in the environment with no access to system calls, then enforcing determinism.