Skip to content

Commit

Permalink
move composition page to operators index
Browse files Browse the repository at this point in the history
  • Loading branch information
ologbonowiwi committed Dec 12, 2023
1 parent 6159672 commit 20fad34
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/guides/composition.md → docs/guides/operators/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
title: Operator Composition
sidebar_position: 2
title: "Operators"
sidebar_position: 1
---

Tailcall DSL builds on your existing GraphQL knowledge by allowing the addition of some custom operators. These operators provide powerful compile time guarantees to make sure your API composition is tight and robust. The operator information is used to automatically generates highly optimized resolver logic for your types.

# Composition
Operators can be composed and used together to create new and powerful transformations.

This example illustrates the concept of composition in GraphQL, which allows you to combine multiple operations (known as "operators") to build more complex transformations of data.

The given schema is defining two data types - `User` and `Post`. The `User` type has fields `id` and `name`, and the `Post` type initially has fields `user` and `userId`.
Expand Down

0 comments on commit 20fad34

Please sign in to comment.