irmin icon indicating copy to clipboard operation
irmin copied to clipboard

irmin-graphql: Add missing `doc` params

Open zshipko opened this issue 2 years ago • 0 comments

In order to use a tool like https://github.com/2fd/graphdoc to document the GraphQL API we will need to add a bit more context.

To do this we will need to pass a description to the doc parameter for the following functions:

  • Schema.io_field
  • Schema.field
  • Schema.obj
  • Schema.union
  • Schema.scalar
  • Schema.Arg.Scalar

Also, Default_type should be updated to accept a doc value

zshipko avatar Mar 11 '22 00:03 zshipko