
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@nl-framework/graphql
Advanced tools
GraphQL module for nl-framework with code-first schema generation and Apollo Federation support.
Code-first GraphQL layer for the Nael Framework with resolver decorators, schema generation, and Apollo Federation support.
bun add @nl-framework/graphql graphql
class-transformer before resolvers execute, rejecting invalid payloads with BAD_USER_INPUT errors.import { Module } from '@nl-framework/core';
import { Resolver, Query, Mutation, Args, InputType, Field } from '@nl-framework/graphql';
import { NaelFactory } from '@nl-framework/platform';
import { IsEmail, IsOptional, IsString, MinLength } from 'class-validator';
@InputType()
class CreateUserInput {
@Field()
@IsEmail()
email!: string;
@Field({ nullable: true })
@IsOptional()
@IsString()
@MinLength(2)
name?: string;
}
@Resolver('User')
class UsersResolver {
private readonly users = new Map<string, { id: string; email: string; name?: string }>();
@Query(() => [String])
users() {
return Array.from(this.users.values());
}
@Mutation(() => String)
createUser(@Args('input', () => CreateUserInput) input: CreateUserInput) {
const id = crypto.randomUUID();
this.users.set(id, { id, email: input.email, name: input.name });
return id;
}
}
@Module({
providers: [UsersResolver],
resolvers: [UsersResolver],
})
class GraphqlModule {}
const app = await NaelFactory.create(GraphqlModule);
const { graphql } = await app.listen({ http: 4000 });
console.log('GraphQL ready at', graphql?.url ?? 'http://localhost:4000/graphql');
Apache-2.0
FAQs
GraphQL module for nl-framework with code-first schema generation and Apollo Federation support.
The npm package @nl-framework/graphql receives a total of 28 weekly downloads. As such, @nl-framework/graphql popularity was classified as not popular.
We found that @nl-framework/graphql demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.