@graphile-contrib/pg-simplify-inflector
Advanced tools
Comparing version 5.0.0-beta.0 to 5.0.0-beta.1
@@ -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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21073
410
172