I'm a Web3 developer, more on me: https://ianh.xyz.
ian / next-graphql Goto Github PK
View Code? Open in Web Editor NEWnext-graphql = GraphQL + Next.js
License: Apache License 2.0
next-graphql = GraphQL + Next.js
License: Apache License 2.0
I'm a Web3 developer, more on me: https://ianh.xyz.
receiving data with this plugin as following
GraphQL Error (Code: 200): {"response":{"error":"{\"data\":{\"checklists\":
Apollo is such a pain, aside from apollo-graphql locking the graphql version locked at 14, it's just slow and cumbersome.
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
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 ๐๐ป
Options:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.