Skip to main content

Introducing GraphQL integration with EventCatalog

· 2 min read
David Boyne
Founder of EventCatalog

I'm excited to share our latest integration plugin for EventCatalog: the GraphQL plugin.

The EventCatalog GraphQL plugin reads and parses your GraphQL schemas and transforms them into domains, services and messages in your catalog.

With the GraphQL plugin you can transform your schemas into living documentation your teams can understand.

How the plugin works

EventCatalog can be powered by generators. Generators can be used to automate the creation of your EventCatalog.

The GraphQL generator takes your GraphQL schema files and transforms them into living documentation.

Image

The GraphQL generator will:

  • ⭐️ Transform your queries, mutations and subscriptions into commands, events and queries in your catalog
  • ⭐️ Let you map your services to domains in your architecture.
  • ⭐️ Assign owners (your teams) to your services and messages all generated by your GraphQL schemas
  • ⭐️ Visualize your GraphQL queries, mutations and subscriptions as event streams in your catalog
  • ⭐️ Add semantic meaning to your GraphQL schemas, persist this meaning between versions
  • ⭐️ Automatically version your changes in EventCatalog in sync with your GraphQL schema versions
  • ⭐️ Ability to download your schemas and GraphQL files (also versioned)
  • ⭐️ Ability to draft services and operations in EventCatalog from your GraphQL schemas
  • ⭐️ Use EventCatalog MCP to find information about your GraphQL schemas
  • ⭐️ And much more...

Getting started

To get started you can read the documentation or see the example project.

You can also start with our template if you don't have an EventCatalog project yet.

npx @eventcatalog/create-eventcatalog@latest my-catalog --template graphql

Summary

Many folks have asked for a GraphQL integration with EventCatalog. Today we are excited to launch the GraphQL plugin which allows you to automate your EventCatalog from your GraphQL schema files.

With the GraphQL plugin you can transform your schemas into living documentation your teams can understand.

We also support other integrations (e.g AsyncAPI, OpenAPI) with EventCatalog, check out our integrations page to see all the plugins we support.

If you have any questions you can join us on our Discord server.