-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #355 from Joystream/hydra-v3
Merge hydra-v3 into master
- Loading branch information
Showing
202 changed files
with
12,335 additions
and
3,423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
- ci-test | ||
- ci-lerna | ||
- ci-lerna-test | ||
- hydra-v3 | ||
|
||
env: | ||
CI: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
# Table of contents | ||
|
||
* [Hydra](README.md) | ||
* [Overview](docs/README.md) | ||
* [Query Node Manifest](docs/manifest-spec.md) | ||
* [Mappings](docs/mappings/README.md) | ||
* [DatabaseManager](docs/mappings/databasemanager.md) | ||
* [SubstrateEvent](docs/mappings/substrateevent.md) | ||
* [Schema](docs/schema-spec/README.md) | ||
* [The Goodies](docs/schema-spec/the-query-goodies.md) | ||
* [Entities](docs/schema-spec/entities.md) | ||
* [Enums](docs/schema-spec/enums.md) | ||
* [Interfaces](docs/schema-spec/interfaces.md) | ||
* [Algebraic types](docs/schema-spec/variant-types.md) | ||
* [Full-text queries](docs/schema-spec/full-text-queries.md) | ||
* [Entity Relationships](docs/schema-spec/entity-relationship.md) | ||
* [Install Hydra](docs/install-hydra.md) | ||
* [Query Node schema](docs/query-node-schema.md) | ||
* [Tutorial](docs/quick-start.md) | ||
* [GraphQL Entity Relationships](docs/entity-relationship.md) | ||
* [Architecture](docs/architecture.md) | ||
* [Migration to Hydra v2](migration-to-hydra-v2.md) | ||
* [Announcing Hydra v3](announcing-hydra-v3.md) | ||
|
||
- [Hydra](README.md) | ||
- [Hydra CLI](packages/hydra-cli/README.md) | ||
- [Hydra Indexer](packages/hydra-indexer/README.md) | ||
- [Hydra Indexer Gateway](packages/hydra-indexer-gateway/README.md) | ||
- [Hydra Processor](packages/hydra-processor/README.md) | ||
- [Hydra Typegen](packages/hydra-typegen/README.md) | ||
- [Overview](docs/README.md) | ||
- [Query Node Manifest](docs/manifest-spec.md) | ||
- [Graphql Queries](docs/queries.md) | ||
- [Pagination](docs/paginate-query-results.md) | ||
- [Sorting](docs/sort-query-results.md) | ||
- [Mappings](docs/mappings/README.md) | ||
- [DatabaseManager](docs/mappings/databasemanager.md) | ||
- [SubstrateEvent](docs/mappings/substrateevent.md) | ||
- [Schema](docs/schema-spec/README.md) | ||
- [The Goodies](docs/schema-spec/the-query-goodies.md) | ||
- [Entities](docs/schema-spec/entities.md) | ||
- [Enums](docs/schema-spec/enums.md) | ||
- [Interfaces](docs/schema-spec/interfaces.md) | ||
- [Algebraic types](docs/schema-spec/variant-types.md) | ||
- [Full-text queries](docs/schema-spec/full-text-queries.md) | ||
- [Entity Relationships](docs/schema-spec/entity-relationship.md) | ||
- [Cross filtering](docs/schema-spec/cross-filters.md) | ||
- [Variant relations](docs/schema-spec/variant-relations.md) | ||
- [Install Hydra](docs/install-hydra.md) | ||
- [Tutorial](docs/quick-start.md) | ||
- [GraphQL Entity Relationships](docs/graphql-entity-relationships.md) | ||
- [Architecture](docs/architecture.md) | ||
- [Migration to Hydra v2](migration-to-hydra-v2.md) | ||
- [What's new in Hydra v3](announcing-hydra-v3.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
# Announcing Hydra v3 | ||
# What's new in Hydra v3 | ||
|
||
Hydra v3 is already in the works. Here are the main features planned: | ||
|
||
* Support for filtering by relations | ||
* Define block ranges for any mapping, i.e. specify that your mapping X should be run only from block 5 to block 7 | ||
* Import all model files from a single library. Instead of the cumbersome | ||
- Support for filtering by relations | ||
- Support for adding relations to variant types | ||
- Ordering by multiple fields | ||
- Multiple filters in the same query \(`AND` and `OR`\) | ||
- Filters for mapping handlers: specify heights and runtime spec version range | ||
- Import all model files from a single library. Instead of the cumbersome | ||
|
||
```typescript | ||
import { MyEntity1 } from '../generated/graphql-server/my-entity2/my-entity2.model' | ||
import { MyEntity2 } from '../generated/graphql-server/my-entity2/my-entity2.model' | ||
|
||
import { MyEntity1 } from '../generated/graphql-server/my-entity2/my-entity2.model' | ||
import { MyEntity2 } from '../generated/graphql-server/my-entity2/my-entity2.model' | ||
``` | ||
|
||
write | ||
|
||
```typescript | ||
import { MyEntity1, MyEntity2 } from '../generated/graphql-server/model' | ||
``` | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# GraphQL Entity Relationships | ||
|
Oops, something went wrong.