Code Monkey home page Code Monkey logo

next-graphql's Introduction

next-graphql's People

Contributors

dependabot[bot] avatar farhantahir avatar ian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

farhantahir

next-graphql's Issues

Issues with having local graphql package installed

This arose around having a peer requirement for gqty. We want to just integrate gqty as the client so we should be able to knock this out at the same time.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
    at instanceOf (/Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/node_modules/@graphql-tools/utils/node_modules/graphql/jsutils/instanceOf.js:41:19)
    at Object.isObjectType (/Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/node_modules/@graphql-tools/utils/node_modules/graphql/type/definition.js:129:37)
    at mapArguments (/Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/node_modules/@graphql-tools/utils/index.js:2549:26)
    at mapDefaultValues (/Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/node_modules/@graphql-tools/utils/index.js:2438:24)
    at Object.mapSchema (/Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/node_modules/@graphql-tools/utils/index.js:2368:96)
    at /Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/index.js:1352:15
    at /Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/index.js:1705:124
    at Array.flatMap (<anonymous>)
    at /Users/ian/Projects/project/node_modules/next-graphql/node_modules/@graphql-tools/stitch/index.js:1705:104
    at Array.reduce (<anonymous>) {
  page: '/api/graphql'
}
[GQtyError: invalid json response body at http://localhost:3000/api/graphql reason: Unexpected token < in JSON at position 0] {
  type: 'invalid-json'
}
error - Error: Cannot use GraphQLObjectType "Attribute" from another module or real

Still an active project?

Hey ๐Ÿ‘‹๐Ÿป

I just spent the morning creating something similar to this library for an upcoming workshop on GraphQL, and then I found this when accidentally typing the package name into NPM.

Is this package still maintained? If so, would you be open to collaborating on it?

Here's what I have: https://github.com/notrab/next-graphql-handler which is pretty similar -- only difference is I render GraphiQL and it doesn't yet support directives.

Thank you ๐Ÿ™๐Ÿป

Accept Custom Error Logger

We need to log errors handled via this library using our own custom error logger, would be good to have the option in this package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.