query roots { CategoryFind(query: "[{\"parent\": null }]") { _id name } } query CategoryFindOne($qq: String) { CategoryFindOne(query: $qq) { _id name parent { _id name } subCategories { _id name } goods { _id name price description images { url } } } } mutation UserRegistration($login: String, $password: String) { UserUpsert(user: {login: $login, password: $password}) { _id createdAt } } query Login($login: String, $password: String) { login(login: $login, password: $password) } mutation OrderCreate($order: OrderInput) { OrderUpsert(order: $order) { _id orderGoods { _id price count total good { name } } } } query OrderFind{ OrderFind(query:"[{}]") { _id total orderGoods { _id price count total good { name } } } } /// { "q": "[{\"_id\": \"62c94b10b74e1f5f2ec1a0dd\"}]", "qq": "[{\"_id\": \"6262ca7dbf8b206433f5b3d1\"}]", "login": "Berg", "password": "123456789", "order": {"orderGoods":[{"good": {"_id": "62d30938b74e1f5f2ec1a124" },"count": 2}, {"good": {"_id": "62d3099ab74e1f5f2ec1a125" },"count": 2}]} }