links: GraphQL MOC


WunderGraph Basics

GraphQL Config for WunderGraph

.graphqlconfig file contains list of projects (think of project for web, app, or different consumer like IOT).

Each project contains stitched schema that can be used for consumption. You can specify endpoint url and other options like introspections, headers.

Stitching Rest Data Source to WunderGraph

You can configure Rest Data Source using introspect.openApi from @wundergraph/sdk

The openApi accepts yaml or json schema file. Once introspected, you can use Rest API as GraphQL.

wundergraph.config.ts

This file contains introspection to different end points and creating wundergraph application


tags: graphql wundergraph