You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)