type Query {
posts(page: Int): [Post!]!
}
type Post {
author: User
title: String
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) Mysten Labs, Inc. | |
// SPDX-License-Identifier: Apache-2.0 | |
import type { IGraphQLConfig } from 'graphql-config'; | |
// @ts-ignore | |
import { spawn, execSync } from 'child_process'; | |
const locateServer = spawn('bun', ['--watch', './packages/graphql/src/locate.ts'], { | |
stdio: 'inherit', | |
}); |
OlderNewer