Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including federation-to-stitching-sdl with all npm packages installed. Try it out:

var federationToStitchingSdl = require("federation-to-stitching-sdl")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

federation-to-stitching-sdl v1.0.1

This utility converts an [Apollo Federation SDL](https://www.apollographql.com/docs/federation/federation-spec/) string into a [Schema Stitching SDL](https://www.graphql-tools.com/docs/stitch-directives-sdl/) string. Schema Stitching supports freeform service bindings that may integrate with any GraphQL query, including the `_entities` query setup by [Federation services](https://github.com/apollographql/federation). That means any Federation SDL may be converted and plugged into a Schema Stitching gateway. For example...

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free