const ProductType: GraphQLObjectType = new GraphQL...
# orm-help
x
const ProductType: GraphQLObjectType = new GraphQLObjectType({ name: 'Product', fields: () => ({ name: { type: new GraphQLNonNull(GraphQLString), resolve: async ({ name }) => { return `${name}.....`; }, }, }), });