View on GitHub

Shift-4-Haystack

The help of the implement of the Haystack specification

Use AWS AppSync

With AWS AppSync, it's possible to merge the Haystack GraphQL API with another GraphQL API.

Schema

The current GraphQL schema for Haystack is here

Delegate part of global GraphQL to haystack GraphQL API

This sample demonstrates how it's possible to delegate a part of GraphQL request to Haystack GraphQL API with AWS AppSync.

In the AWS AppSync console:

alt New Data Source

alt New Data Source

alt Attach Resolver

alt Create Pipeline Resolver

alt Query

Now, you can extend the AppSync schema and attach others API in the endpoint.