umbraco-community / umbraco-graphql

An implementation of GraphQL for Umbraco 8 using GraphQL for .NET.
MIT License
64 stars 32 forks source link

Make GraphQL endpoints configurable #16

Closed PeteDuncanson closed 5 years ago

PeteDuncanson commented 6 years ago

https://github.com/rasmusjp/umbraco-graphql/blob/fbcc4e7bd2b66ff7f9606921abf6fd518de7eff9/src/Our.Umbraco.GraphQL/Web/AppBuilderExtensions.cs#L37

Currently hardcoded for convention over configuartion but we should really allow developers to over-write these.

rasmusjp commented 5 years ago

This is now possible by passing in a custom path to app.UseUmbracoGraphQL() https://github.com/rasmusjp/umbraco-graphql/blob/develop/docs/index.md#configuration