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.

Consider moving GraphiQL functions to a separate package.

See original GitHub issue

While useful, they may not be necessary for all users. It is notable that almost all of the package size of graphql-helix seems to come from dist/render-graphiql.js. While it would be a breaking change, it is relatively straightforward for users to migrate to something like

import {getGraphQLParameters, processRequest} from 'graphql-helix';
import {renderGraphiQL, shouldRenderGraphiQL} from 'graphql-helix-graphiql';

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:10
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
danielreardencommented, Jan 28, 2021

Sounds like a sound idea. We can publish two packages @graphql-helix/core and @graphql-helix/graphiql and just export both from graphql-helix. No breaking changes needed. I’ll circle back to this at my earliest convenience.

2reactions
n1ru4lcommented, Oct 29, 2021

@talentlessguy Wanna help with this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consider moving GraphiQL functions to a separate package. #9
Sounds like a sound idea. We can publish two packages @graphql-helix/core and @graphql-helix/graphiql and just export both from graphql-helix . No breaking ...
Read more >
Modularizing your GraphQL schema code
To organize your code, you'll want to split up your schema types and the associated resolvers into multiple files. We get this question ......
Read more >
GraphQL Best Practices
Ultimately designing APIs with feature-rich pagination led to a best practice pattern called "Connections". Some client tools for GraphQL, such as Relay, know ......
Read more >
GraphQL vs. REST: A GraphQL Tutorial - Toptal
Modern applications generally use several different services, which expose several APIs. We could actually think of GraphQL as a gateway or a wrapper...
Read more >
Build and Secure a GraphQL Server with Node.js - Auth0
In this file, the packages to create the server and to use GraphQL are ... Before extending the schema, let's move its definition...
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