Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphile-contrib/pg-simplify-inflector

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphile-contrib/pg-simplify-inflector - npm Package Compare versions

Comparing version 5.0.0-beta.0 to 5.0.0-beta.1

9

index.js

@@ -8,3 +8,3 @@ function fixCapitalisedPlural(fn) {

module.exports = function PgSimplifyInflectorPlugin(
function PgSimplifyInflectorPlugin(
builder,

@@ -427,2 +427,7 @@ {

});
};
}
module.exports = PgSimplifyInflectorPlugin;
// Hacks for TypeScript/Babel import
module.exports.default = PgSimplifyInflectorPlugin;
Object.defineProperty(module.exports, "__esModule", { value: true });
{
"name": "@graphile-contrib/pg-simplify-inflector",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"description": "Simplifies the graphile-build-pg inflector to trim the `ByFooIdAndBarId` from relations",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -115,4 +115,4 @@ # @graphile-contrib/pg-simplify-inflector

/*
* Uncomment if you are using `simpleCollections: 'only'` and you never
* want relay connections
* Uncomment if you want simple collections to lose the 'List' suffix
* (and connections to gain a 'Connection' suffix).
*/

@@ -129,2 +129,8 @@ //pgOmitListSuffix: true,

//pgSimplifyAllRows: false,
/*
* Uncomment if you want primary key queries and mutations to have
* `ById` (or similar) suffix; and the `nodeId` queries/mutations
* to lose their `ByNodeId` suffix.
*/
// pgShortPk: true,
},

@@ -160,4 +166,4 @@ // ... other settings ...

type to produce, e.g. `authoredPosts`, `editedPosts`, `reviewedPosts`.
Failing this, we just fall back to the default inflector; it will be up to
you to add smart comments or a custom inflector to override these.
Failing this, we just fall back to the default (verbose) inflector; it will be
up to you to add smart comments or a custom inflector to override these.

@@ -164,0 +170,0 @@ ## Handling field conflicts:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc