🚀
Semaphore
  • Introduction
  • Getting started
    • Go API
    • CLI
    • Docker
    • Examples
  • Cookbook
    • Flows
      • References
      • Error handling
      • Conditional logic
      • Proxy forward
    • Schemas
      • Protobuffers
    • Transport
      • HTTP
      • Go micro
      • GraphQL
    • DevOps
  • Contributing
Powered by GitBook
On this page
  1. Cookbook
  2. Transport

GraphQL

GraphQL objects could simply be generated of existing flows. This is still a very basic implementation and could be further improved.

Currently you could only expose a flow by its flow name.

endpoint "address" "graphql" {
    path = "user.address"
    name = "address"
    base = "mutation"
}

The GraphQL server is exposed on the configured port. Check out the Semaphore CLI documentation or the documentation of your own implementation for more information.

$ # Expose a GraphQL server on port 9090
$ semaphore daemon -f config.yaml
graphql:
    address: ":9090"
PreviousGo microNextDevOps

Last updated 4 years ago