Rename Transform

The rename transform allow you rename GraphQL types and GraphQL fields easily.

yarn add @graphql-mesh/transform-rename

How to use?

Add the following configuration to your Mesh config file:

- rename:
- from: ApiUser
to: User

Config API Reference

  • from (type: String, required) - The GraphQL type to rename
  • to (type: String, required) - The new name