
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@coderich/autograph
Advanced tools
AutoGraph is a powerful framework to instantly build Relay-Compliant GraphQL APIs that adhere to standards and best practice. It provides a robust set of directives that encapsulates data access, validation, transformations, and so much more!
npm i @coderich/autograph --save
scalar AutoGraphMixed
enum AutoGraphScopeEnum { private protected public restricted }
enum AutoGraphOnDeleteEnum { cascade nullify restrict }
enum AutoGraphIndexEnum { unique }
arg | type | description |
---|---|---|
id | String | Specify database id field name (default: id ) |
meta | String | Define a model |
alias | String | Specify database table name (default models's name) |
scope | AutoGraphScopeEnum | Access scope for this model (default protected ) |
driver | String | Specify database driver (default default ) |
namespace | String | Define a custom namespace |
createdAt | String | TBD |
updatedAt | String | TBD |
arg | type | description |
---|---|---|
alias | String | Specify database field name (default field's name) |
scope | AutoGraphScopeEnum | Access scope for this field (default protected ) |
enforce | [AutoGraphEnforceEnum!] | List of Rules to enforce |
noRepeat | Boolean | TBD |
onDelete | AutoGraphOnDeleteEnum | Specify onDelete behavior |
transform | [AutoGraphTransformEnum!] | List of Transformers to apply |
materializeBy | String | Define a virtual field |
arg | type | description |
---|---|---|
on | [String!]! | The field names to use for this index |
type | AutoGraphIndexEnum! | The type of index to create |
name | String | The name of the index |
Each Resolver
treats your schema definition as a graph of connected nodes. To begin a query or mutation, you must first identify a node in the graph as your starting point.
Identify a node, returns a QueryBuilder
.
const queryBuilder = resolver.match('Person');
Identify a node, returns a Transaction
.
const txn = resolver.transaction('Person');
FAQs
AutoGraph
We found that @coderich/autograph 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.