daniel-de-wit / lighthouse-sanctum

Laravel Sanctum support for Laravel Lighthouse
MIT License
56 stars 9 forks source link

Replace PHP Enums with GraphQL Enums #20

Closed daniel-de-wit closed 3 years ago

daniel-de-wit commented 3 years ago

When disabling certain mutations might make some of the automatically registered enums obsolete.

To stay in line with the "publish GraphQL schema" approach we decided to also add the GraphQL enums directly in the sanctum.graphql