Skip to content

Instantly share code, notes, and snippets.

@AlecAivazis
Created May 31, 2019 01:54
Show Gist options
  • Save AlecAivazis/8d55959d96a4e29ad722aa8ca472a814 to your computer and use it in GitHub Desktop.
Save AlecAivazis/8d55959d96a4e29ad722aa8ca472a814 to your computer and use it in GitHub Desktop.
gw, err := gateway.New(schemas,
gateway.WithMiddlewares(forwardUserID),
gateway.WithQueryFields(viewerField)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment