mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Fixes #35469 Adds `pagesDir` which is required for the Relay transform. Added a test case based on https://github.com/hanford/relay-swc-jest. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` Co-authored-by: JJ Kasper <[email protected]>
20 lines
270 B
GraphQL
20 lines
270 B
GraphQL
type Query {
|
|
viewer(after: String, before: String, first: Int, last: Int): Viewer!
|
|
node(id: ID!): Node
|
|
}
|
|
|
|
type Viewer implements Node {
|
|
id: ID!
|
|
user: User!
|
|
}
|
|
|
|
interface Node {
|
|
id: ID!
|
|
}
|
|
|
|
type User implements Node {
|
|
id: ID!
|
|
name: String!
|
|
title: String!
|
|
}
|