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

Documentation Improvements

Open ardatan opened this issue 1 year ago • 0 comments

All scalars actually need the following structure in the docs;

  • The reason and details of the value as in "Duration"
  • Spec reference if available as in DateTime
  • RegExp if available
  • Result coercion if done as in DateTime
  • Input Coercion if done as in DateTime
  • How it should be typed in TypeScript and shown in JSON

ardatan avatar Nov 28 '22 08:11 ardatan