
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
BuckleScript binding for graphql-js.
This package is just a binding and you will need to import the original graphql package as well.
npm install --save graphql bs-graphql
# or
yarn add graphql bs-graphql
As always, you will need to indicate to BuckleScript that the binding is available.
bsconfig.json
{
...
"bs-dependencies": [
"bs-graphql"
]
}
WARNING: This package has been published so far with the only goal of being usable for simple graphql server development. For now, you can only count on
graphql
andbuildSchema
functions alongside a sugared call tographql
:run
. You are obviously welcome to contribute any other missing part!
You can use this binding to build and execute some simple GraphQL schemas:
let schema = GraphQL.Utilities.buildSchema "type Query { me: User } type User { name: String }";
let rootValue = {"me": fun () => {"name": "reason"}};
Js.log (GraphQL.run schema ::rootValue "{ me { name } }");
Only a small API surface of graphql-js is covered for now. Your help will be more than welcome to fully develop this binding.
git clone git@github.com:rricard/bs-graphql.git
cd bs-graphql
yarn
yarn build
Then, you can run two watchers, one for compiling, one for testing:
yarn watch
yarn test -- --watch
FAQs
BuckleScript binding for graphql-js
The npm package bs-graphql receives a total of 1 weekly downloads. As such, bs-graphql popularity was classified as not popular.
We found that bs-graphql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.