
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@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.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

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