diff --git a/docs/guides/composition.md b/docs/guides/operators/index.md similarity index 80% rename from docs/guides/composition.md rename to docs/guides/operators/index.md index 9c3b25f5a7..ee918207e3 100644 --- a/docs/guides/composition.md +++ b/docs/guides/operators/index.md @@ -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`.