purescript-graphql
purescript-graphql copied to clipboard
Field and argument deprecation
In GraphQL fields can be deprecated. This should also be possible in PureScript GraphQL. The fields continue working, the deprecation is only visible in the introspection query. This could be easily handled by adding a deprecationReason field in the introspection data structures and adding a type class similar to Describe that has the member function withDeprecationReason.