Related Graphql objects giving undefined
问题 I am getting this error when I start the server Error: Expected undefined to be a GraphQL type. UPDATE: I believe this has to do with javascript requiring each other. What is the best way to solve this? I have an account type in file accountTypes.js const { channelType } = require('../channel/channelTypes'); //Define Order type const accountType = new GraphQLObjectType({ name: 'Account', description: 'An account', fields: () => ({ id: { type: new GraphQLNonNull(GraphQLInt), description: 'The