question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Split outputs config into "typegen" and "sdl"

See original GitHub issue

Current 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:open
  • Created 3 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
tgriessercommented, Dec 7, 2020

sourceTyping or sourceTypings for the schema config do you think?

0reactions
jasonkuhrtcommented, Dec 10, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found