-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
Description
What
Make it easy to write projects with next + nexus
Why
Next is a popular way to write client apps
How
needs research
Notes
- http://www.fullstackradio.com/137
- See working/wip example in the examples repo.
TODOs
- polish: noEmit should give no warning Be able to disable noEmit-true warning #800
- noEmit makes build not emit, turning it effectively into just a checker onDiagnostic callback graphql-nexus/nexus#648 (comment) Allow using Nexus as a dev tool only. graphql-nexus/nexus#798
- NextJS does not permit having a module dynamically injected into its build, so let's work with that constraint for now. Based on the entrypoints we have in our working example, we need:
- need an api to make the app. It is currently done when server start is called. But that presumably doesn't exist in serverless mode. Allow multiple sourceType for scalar graphql-nexus/nexus#784
-
Need an api forfeat: allow implementing interfaces in extendType graphql-nexus/nexus#774process.env.NEXUS_SHOULD_GENERATE_ARTIFACTS
or vercel/nextjs plugin that achieves same -
nexus dev --reflection
onDiagnostic callback graphql-nexus/nexus#648 (comment) Being able to run dev mode for just reflection would help (overlaps with what vscode plugin would/could do). Currently the nexus dev mode server is run but unused, since next hosts it in actuality. sourceTypes doesn't work with module entrypoints. graphql-nexus/nexus#797
- Allow entrypoint name configuration (feat(cli): add --entrypoint flag to dev and build #703)
- Supporting tsc options
- isolateModules
- moduleResolution=node
- module=esnext docs: cover isTypeOf and extension with jsdoc graphql-nexus/nexus#720
Big TODOs
- Serverless server mode (different platforms, vercel first) Serverless mode #782
-
nexus/sdk
... cli features as an api ... for creating a nextjs plugin (?)- dev
- build
schickling, osirvent, yovanoc, shaunchurch, kyh and 14 more