purescript-graphql icon indicating copy to clipboard operation
purescript-graphql copied to clipboard

Field and argument deprecation

Open hendrikniemann opened this issue 5 years ago • 0 comments

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.

hendrikniemann avatar Jul 29 '20 18:07 hendrikniemann