Tag: graphql relay

GraphQL中继返回一条logging

我在我的项目中使用graphql-relay 在我的grapgql中运行这个查询时: { viewer{ boRelayCustomerInfo(_id:"59267769de82262d7e39c47c") { edges { node { id } } } } } 我给了这个错误: "message": "arraySlice.slice is not a function" 我的查询代码是: import { GraphQLID, GraphQLNonNull, } from 'graphql' import { connectionArgs, connectionFromPromisedArray, } from 'graphql-relay' import { customerConnection } from '@/src/schema/type/customer/CustomerType' import { CustomerModel, ObjectId } from '@/src/db' export default { type: […]