1
0
15270821319 4e5c5d37f9 初步设计数据库,注册登录 10 сар өмнө
..
dist 4e5c5d37f9 初步设计数据库,注册登录 10 сар өмнө
src 4e5c5d37f9 初步设计数据库,注册登录 10 сар өмнө
LICENSE 4e5c5d37f9 初步设计数据库,注册登录 10 сар өмнө
README.md 4e5c5d37f9 初步设计数据库,注册登录 10 сар өмнө
package.json 4e5c5d37f9 初步设计数据库,注册登录 10 сар өмнө

README.md

sortAST

The sortAST function is used to alphabetically sort all of the nodes in a graphql DocumentNode.

Usage

import { sortAST } from "@apollo/utils.sortast";

const sortedAST = sortAST(
  parse(`#graphql
  query Foo { c b a }
`),
);

print(sortedAST);
// query Foo { a b c }