v7.2.0
New Features
-
Individual fields within a type are now linkable via an
idwithin each field’s table row. For example, if the typeMessageInputhas a fieldauthor, you can link to the corresponding table row with the fragment#messageinput.author.Additionally, fields can now appear in the Table of Contents, nested under their parent type, with the new
--toc-fieldsCLI option ortocFieldTypesoption torenderSchema.You can show fields in the TOC for specific types (comma-separated):
--toc-fields "Query,Mutation,Subscription"…or for all types with the special string
*. This will include query, mutation, subscription, object, input, and interface types.--toc-fields "*"Note that fields always get an anchor ID and are thus always linkable, regardless of whether they appear in the TOC.
(#104, thanks @cyberwombat and @fmontorsi-equinix for the initial work and discussion!)
Full Changelog: v7.1.0...v7.2.0