cap-js / graphql Goto Github PK
View Code? Open in Web Editor NEWCDS protocol adapter for GraphQL
Home Page: https://npm.im/@cap-js/graphql
License: Apache License 2.0
CDS protocol adapter for GraphQL
Home Page: https://npm.im/@cap-js/graphql
License: Apache License 2.0
Just had all tests of a branch version fail because I forgot to delete my local package-lock.json
before npm install
ing the branch version.
This pit could be avoided by either adding a package-lock.json
, or by adding a .npmrc
with package-lock=false
.
Depending on the load on my machine some or all tests fail due to timeout. The number of failing tests varies, and all tests succeeding is the exception:
A worker process has failed to exit gracefully and has been force exited. This is likely caused by
tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active
timers can also cause this, ensure that .unref() was called on them.
Test Suites: 14 failed, 3 passed, 17 total
Tests: 103 failed, 53 skipped, 126 passed, 282 total
Snapshots: 0 total
Time: 15.518 s
Increasing the default timeout circumvents the problem, see #16
Queries that request fields with null values fail with error message
Cannot read properties of undefined (reading 'selections')
This could be reproduced by adding a contemporary author whose dateOfDeath
and placeOfDeath
are null
and issuing a query that includes this author and one of these fields.
some description
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-reuse_tool-3
Explanation: Is it registered in REUSE? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
Hi! After upgrading to 0.3.0 I have now this error message:
Error: ENOENT: no such file or directory, stat '/workspace/node_modules/@cap-js/graphql/app/graphiql.html'
It looks like app folder hasn't been published:
https://www.npmjs.com/package/@cap-js/graphql?activeTab=explore
... to experiment with automated issue detection.
Hi!
As it's declared here https://github.com/graphql/express-graphql#this-library-is-deprecated express-graphql is not recommended for use anymore. It's using outdated approach.
I'd recommend to switch to https://github.com/graphql/graphql-http
Here is the example how it should be used with express.
https://github.com/graphql/graphql-http#with-express
Also may be it makes sense to think of even starting a separate graphql server, for example by use of Yoga:
https://github.com/graphql/graphql-http#servers
What do you think?
Thanks!
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-reuse_tool-4
Explanation: Is it compliant with REUSE rules? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
I'd like to report also one more issue ew face currently
We've created a custom authorization layer by use of the following config
"auth": { "impl": "srv/auth.js" }
where we implement is function to check user roles https://cap.cloud.sap/docs/node.js/authentication#user-is
However in case of graphql requests this code is simply not called.
I think i'd be nice to support auth here too.
Thanks!
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-reuse_tool-2
Explanation: Does it have LICENSES directory with licenses? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-reuse_tool-1
Explanation: Does README mention REUSE? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-reuse_tool-2
Explanation: Does it have LICENSES directory with licenses? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-reuse_tool-4
Explanation: Is it compliant with REUSE rules? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
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.