Dynamic GraphQL Schemas

added by DotNetKicks
9/10/2020 4:43:49 PM


When we build a GraphQL service we define our schema, we typically do this via two different mechanisms. The first is often referred to as schema first where we declare the schema using the SDL that may look something like: The the other approach is usually referred to as code first which will look very different depending on which GraphQL server framework you're using, below is an example from the excellent .NET GraphQL framework Hot Chocolate.