mirror of
https://github.com/ent/ent.git
synced 2026-03-05 19:35:23 +03:00
doc/md: fix broken links to "GraphQL example" (#2959)
This commit is contained in:
@@ -4,7 +4,7 @@ title: GraphQL Field Collection
|
||||
sidebar_label: Field Collection
|
||||
---
|
||||
|
||||
In this section, we continue our [GraphQL example](tutorial-todo-gql.md) by explaining how Ent implements
|
||||
In this section, we continue our [GraphQL example](tutorial-todo-gql.mdx) by explaining how Ent implements
|
||||
[GraphQL Field Collection](https://spec.graphql.org/June2018/#sec-Field-Collection) for our GraphQL schema and solves the
|
||||
"N+1 Problem" in our resolvers.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Filter Inputs
|
||||
sidebar_label: Filter Inputs
|
||||
---
|
||||
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.md) by explaining how to generate
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.mdx) by explaining how to generate
|
||||
type-safe GraphQL filters (i.e. `Where` predicates) from our `ent/schema`, and allow users to seamlessly
|
||||
map GraphQL queries to Ent queries. For example, the following GraphQL query, maps to the Ent query below:
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Mutation Inputs
|
||||
sidebar_label: Mutation Inputs
|
||||
---
|
||||
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.md) by explaining how to extend the Ent code
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.mdx) by explaining how to extend the Ent code
|
||||
generator using Go templates and generate [input type](https://graphql.org/graphql-js/mutations-and-input-types/)
|
||||
objects for our GraphQL mutations that can be applied directly on Ent mutations.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Relay Node Interface
|
||||
sidebar_label: Relay Node Interface
|
||||
---
|
||||
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.md) by explaining how to implement the
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.mdx) by explaining how to implement the
|
||||
[Relay Node Interface](https://relay.dev/graphql/objectidentification.htm). If you're not familiar with the
|
||||
Node interface, read the following paragraphs that were taken from [relay.dev](https://relay.dev/graphql/objectidentification.htm#sel-DABDDBAADLA0Cl0c):
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Relay Cursor Connections (Pagination)
|
||||
sidebar_label: Relay Cursor Connections
|
||||
---
|
||||
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.md) by explaining how to implement the
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.mdx) by explaining how to implement the
|
||||
[Relay Cursor Connections Spec](https://relay.dev/graphql/connections.htm). If you're not familiar with the
|
||||
Cursor Connections interface, read the following paragraphs that were taken from [relay.dev](https://relay.dev/graphql/connections.htm#sel-DABDDDAADFA0E3kM):
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Schema Generator
|
||||
sidebar_label: Schema Generator
|
||||
---
|
||||
|
||||
In this section, we will continue the [GraphQL example](tutorial-todo-gql.md) by explaining how to generate a
|
||||
In this section, we will continue the [GraphQL example](tutorial-todo-gql.mdx) by explaining how to generate a
|
||||
type-safe GraphQL schema from our `ent/schema`.
|
||||
|
||||
### Configure Ent
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Transactional Mutations
|
||||
sidebar_label: Transactional Mutations
|
||||
---
|
||||
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.md) by explaining how to set our GraphQL mutations
|
||||
In this section, we continue the [GraphQL example](tutorial-todo-gql.mdx) by explaining how to set our GraphQL mutations
|
||||
to be transactional. That means, to automatically wrap our GraphQL mutations with a database transaction and either
|
||||
commit at the end, or rollback the transaction in case of a GraphQL error.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user