hotchocolate – Hot Chocolate GraphQL method versioning

GraphQL has no concept of versioning. What you would tend to do is still deprecate and introduce a new method under a new name.

Hot Chocolate can expose multiple schemas though, so you can host two separate schemas on the same server.


in the MapGraphQL method, you would need to map a specific schema to a specific route.

app.MapGraphQL("/graphql/a", schemaName: "a")

Having multiple versions of the schema will not scale very well and the more you introduce of these the harder it will get.

Read more here: Source link