
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
graphql-compose-bullmq
Advanced tools
This is a plugin for `graphql-compose`, which generates GraphQLTypes for BullMQ.
This is a plugin for graphql-compose, which generates GraphQLTypes for bullmq.
npm install graphql graphql-compose bullmq graphql-compose-bullmq --save
Modules graphql
, graphql-compose
, bullmq
are in peerDependencies
, so should be installed explicitly in your app. They have global objects and should not have ability to be installed as submodule.
import { composeBull } from 'graphql-compose-bullmq';
import { schemaComposer } from 'graphql-compose';
const { queryFields, mutationFields } = composeBull({
schemaComposer,
typePrefix: 'Prefix',
jobDataTC: `type MyJobData { fieldA: String! fieldB: String}`,
queue: {
name: 'fetch_metrics',
prefix: 'bull.demo',
},
redis: 'redis://127.0.0.1:6379',
});
schemaComposer.Query.addFields({
...queryFields,
// Will provide the following fields:
// queueKeys
// queues
// queue
// job
});
schemaComposer.Mutation.addFields({
...mutationFields,
// Will provide the following fields:
// queueClean
// queueDrain
// queuePause
// queueResume
// queueRemoveRepeatable
// jobAdd
// jobAddBulk
// jobAddRepeatableCron
// jobAddRepeatableEvery
// jobDiscard
// jobPromote
// jobRemove
// jobRetry
// jobUpdate
// jobLogAdd
});
const schema = schemaComposer.buildSchema();
composeBull
will generate particles for your further schema. It contains more than 40 types wich helps to you work with Bull Queues. You may see generated files in schema.graphql file. It can be visialized with https://apis.guru/graphql-voyager/ in the following manner:
FAQs
This is a plugin for `graphql-compose`, which generates GraphQLTypes for BullMQ.
The npm package graphql-compose-bullmq receives a total of 0 weekly downloads. As such, graphql-compose-bullmq popularity was classified as not popular.
We found that graphql-compose-bullmq 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.