forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[examples/with-typescript-graphql] Add "createResolverContext" hook, …
…etc. (vercel#11681) * Update deps * Run "node-check-update -u" * "graphql" keeps ^14 since other libs expect it * Install apollo-link and apollo-cache because @apollo/react-common wants it as peer-deps * Add graphql-let/schema/loader * This enables HMR from modifying *.graphqls. * Add resolver context * Remove JSDoc, respect TypeScript defs * ncu -u * Keep using graphql@^14.6.0 for the other deps * fix: Migrate to [email protected] * Removed duplicated deps * Updated check Co-authored-by: Luis Alvarez <[email protected]>
- Loading branch information
1 parent
ed86e2d
commit 7908003
Showing
7 changed files
with
78 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.next | ||
node_modules | ||
__generated__ | ||
*.graphql.d.ts | ||
*.graphqls.d.ts |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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