dillonkearns / elm-graphql

Autogenerate type-safe GraphQL queries in Elm.

Home Page:https://package.elm-lang.org/packages/dillonkearns/elm-graphql/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idea: include deprecation warnings into the generated code as comments

viktorce opened this issue · comments

I guess the title is self explanatory

This issue added it in some cases (in the generated code for fields): #600

I think there are some types of deprecated GraphQL things that aren't covered. I don't have the full context, maybe it was related to only being able to put Elm doc comments for functions, but @gampleman wasn't able to add deprecation comments for things besides fields. PRs would be welcome if there's a way to handle that.