github graphql-compose/graphql-compose v8.1.0

latest releases: v9.0.11, v9.0.10, v9.0.9...
3 years ago

8.1.0 (2021-05-11)

Bug Fixes

  • toSDL: remove trailing spaces in descriptions (affects old graphql versions) (8aa88fd)

Features

  • SchemaComposer: method toSDL() now by default sorts types by kinds (RootObjects, Scalars, Enums, Union, Interface, Object, Input) and after that in alphabetic order. This change of default sorting greatly improves the readability of SDL files for humans and keeps stable sort order for machines. If you need old behavior change it to toSDL({ sortTypes: undefined }). (bb6bb14)
  • toSDL: allow custom sorting function for types; added GROUP_BY_TYPE sorting which sorts by type kind RootTypes, Scalar, Enum, Union, Interface, Object, Input and after that in alphabetic order (#332 by @rhengles) (933d0f8)

Don't miss a new graphql-compose release

NewReleases is sending notifications on new releases.