Split outputs config into "typegen" and "sdl"
See original GitHub issueCurrent typegen related options:
outputs.typgen
shouldGenerateArtifacts
prettierConfig
formatTypegen
typegenConfig
Suggestion:
{
sdl: {
enabled: boolean // shouldGenerateArtifacts
path: string
}
typegen: {
enabled: boolean // shouldGenerateArtifacts
path: string // outputs.typegen
format: prettierConfig | formatTypegen
createInfo: ... // typegenConfig
headers: ... // typegenAutoConfig.headers
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
TypeGen attributes
Each of the attributes has one property named OutputDir, which can be set to indicate the output directory of the generated TypeScript file....
Read more >The Problems of "Schema-First" GraphQL Server Development
In this article, we're going to discuss the drawbacks of a development process where the GraphQL schema is first defined manually in SDL, ......
Read more >Next.js Users - GraphQL Nexus
In this guide, we'll see how to work with Next.js API Routes to serve a Nexus GraphQL ... configure makeSchema to output the...
Read more >Attach configurations to your treatments - Split Help Center
The copy or text in different areas of your application; Backend configurations such as weights set for search algorithms; Number of retries and ......
Read more >Veritas™ Volume Manager Administrator's Guide - Veritas SORT
Recent software configuration changes and network changes. Licensing and registration ... Example of a serial split brain condition in a cluster .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
sourceTyping
orsourceTypings
for the schema config do you think?After [more] discussion with @Weakky I realized typegen auto config is a whole topic unto itself and I have reduced the footprint of this issue to be just about the outputs configuration.