Tag: react router relay

在执行react-relay时,无法读取属性'undefined'

在我的nodejs应用程序中 这是我的schema.js文件 import { GraphQLBoolean, GraphQLID, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLObjectType, GraphQLSchema, GraphQLString, } from 'graphql'; import { connectionArgs, connectionDefinitions, connectionFromArray, connectionFromPromisedArray, cursorForObjectInConnection, fromGlobalId, globalIdField, mutationWithClientMutationId, nodeDefinitions, toGlobalId, } from 'graphql-relay'; import { User, getUser, getPosts, createpost, } from '../data/database.js'; var { nodeInterface, nodeField } = nodeDefinitions( (globalId) => { var { type, id } = […]