shurcooL/graphql

Any interest in native go type support?

schmidtw opened this issue · 1 comments

I see the shurcooL/githubv4 project is being updated (at one point in time it looked like this project was not).

Do you have any interested in directly supporting go native types like this?
hasura#45

It is already possible to use predeclared Go types. It's not mentioned in this repo's README, but see the Scalar Types section of githubv4's README.

I did want to remove the GraphQL named types like graphql.String and graphql.Int during early development around 2017, see issue shurcooL/githubv4#9. It turned out hard to completely remove them because they can be useful for inputs/variables (see shurcooL/githubv4#9 (comment)). I haven't had free time to allocate to large open-ended issues here, so there hasn't been progress on this from my side since then.