postgraphile-core
Advanced tools
Comparing version 4.1.0-alpha.0 to 4.1.0-alpha.1
@@ -33,2 +33,4 @@ import { Plugin, Options, SchemaListener, Build, Context, SchemaBuilder, Inflection } from "graphile-build"; | ||
ignoreRBAC?: boolean; | ||
legacyFunctionsOnly?: boolean; | ||
ignoreIndexes?: boolean; | ||
} | ||
@@ -35,0 +37,0 @@ declare type PgConfig = Client | Pool | string; |
@@ -74,4 +74,6 @@ "use strict"; | ||
inflector, // NO LONGER SUPPORTED! | ||
pgColumnFilter, viewUniqueKey, enableTags = true, readCache, writeCache, setWriteCacheCallback, legacyRelations = "deprecated", // TODO: Change to 'omit' in v5 | ||
setofFunctionsContainNulls = true, legacyJsonUuid = false, simpleCollections = "omit", includeExtensionResources = false, ignoreRBAC = true, } = options; | ||
pgColumnFilter, viewUniqueKey, enableTags = true, readCache, writeCache, setWriteCacheCallback, legacyRelations = "deprecated", // TODO:v5: Change to 'omit' in v5 | ||
setofFunctionsContainNulls = true, legacyJsonUuid = false, simpleCollections = "omit", includeExtensionResources = false, ignoreRBAC = true, // TODO:v5: Change to 'false' in v5 | ||
legacyFunctionsOnly = false, // TODO:v5: Remove in v5 | ||
ignoreIndexes = true, } = options; | ||
if (legacyRelations && | ||
@@ -184,3 +186,3 @@ ["only", "deprecated", "omit"].indexOf(legacyRelations) < 0) { | ||
return graphile_build_1.getBuilder(finalPluginList, Object.assign({ pgConfig, pgSchemas: Array.isArray(schemas) ? schemas : [schemas], pgExtendedTypes: !!dynamicJson, pgColumnFilter: pgColumnFilter || (() => true), pgInflection: inflector || | ||
(classicIds ? exports.postGraphileClassicIdsInflection : exports.postGraphileInflection), nodeIdFieldName: nodeIdFieldName || (classicIds ? "id" : "nodeId"), pgJwtTypeIdentifier: jwtPgTypeIdentifier, pgJwtSecret: jwtSecret, pgDisableDefaultMutations: disableDefaultMutations, pgViewUniqueKey: viewUniqueKey, pgEnableTags: enableTags, pgLegacyRelations: legacyRelations, pgLegacyJsonUuid: legacyJsonUuid, persistentMemoizeWithKey, pgForbidSetofFunctionsToReturnNull: !setofFunctionsContainNulls, pgSimpleCollections: simpleCollections, pgIncludeExtensionResources: includeExtensionResources, pgIgnoreRBAC: ignoreRBAC }, graphileBuildOptions, graphqlBuildOptions)); | ||
(classicIds ? exports.postGraphileClassicIdsInflection : exports.postGraphileInflection), nodeIdFieldName: nodeIdFieldName || (classicIds ? "id" : "nodeId"), pgJwtTypeIdentifier: jwtPgTypeIdentifier, pgJwtSecret: jwtSecret, pgDisableDefaultMutations: disableDefaultMutations, pgViewUniqueKey: viewUniqueKey, pgEnableTags: enableTags, pgLegacyRelations: legacyRelations, pgLegacyJsonUuid: legacyJsonUuid, persistentMemoizeWithKey, pgForbidSetofFunctionsToReturnNull: !setofFunctionsContainNulls, pgSimpleCollections: simpleCollections, pgIncludeExtensionResources: includeExtensionResources, pgIgnoreRBAC: ignoreRBAC, pgLegacyFunctionsOnly: legacyFunctionsOnly, pgIgnoreIndexes: ignoreIndexes }, graphileBuildOptions, graphqlBuildOptions)); | ||
}; | ||
@@ -187,0 +189,0 @@ function abort(e) { |
{ | ||
"name": "postgraphile-core", | ||
"version": "4.1.0-alpha.0", | ||
"version": "4.1.0-alpha.1", | ||
"description": "", | ||
@@ -24,4 +24,4 @@ "main": "node8plus/index.js", | ||
"@types/graphql": "^0.13.4", | ||
"graphile-build": "4.1.0-alpha.0", | ||
"graphile-build-pg": "4.1.0-alpha.0" | ||
"graphile-build": "4.1.0-alpha.1", | ||
"graphile-build-pg": "4.1.0-alpha.1" | ||
}, | ||
@@ -57,3 +57,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "b737bd393854b5fda265c7b30b916b8608c75c31" | ||
"gitHead": "378bc2eb419ccbbda2643655a34f16aa06b016e6" | ||
} |
Sorry, the diff of this file is not supported yet
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
30285
303
+ Addedgraphile-build@4.1.0-alpha.1(transitive)
+ Addedgraphile-build-pg@4.1.0-alpha.1(transitive)
- Removedgraphile-build@4.1.0-alpha.0(transitive)
- Removedgraphile-build-pg@4.1.0-alpha.0(transitive)
Updatedgraphile-build@4.1.0-alpha.1