postgraphile-core
Advanced tools
Comparing version 4.3.2-alpha.0 to 4.3.2-alpha.2
@@ -36,2 +36,4 @@ import { Plugin, Options, SchemaListener, Build, Context, SchemaBuilder, Inflection } from "graphile-build"; | ||
subscriptions?: boolean; | ||
live?: boolean; | ||
ownerConnectionString?: string; | ||
} | ||
@@ -38,0 +40,0 @@ declare type PgConfig = Client | Pool | string; |
@@ -83,3 +83,5 @@ "use strict"; | ||
ignoreIndexes = true, // TODO:v5: Change to 'false' in v5 | ||
subscriptions = false, } = options; | ||
subscriptions: inSubscriptions = false, // TODO:v5: Change to 'true' in v5 | ||
live = false, ownerConnectionString, } = options; | ||
const subscriptions = live || inSubscriptions; | ||
if (legacyRelations && | ||
@@ -192,3 +194,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, pgLegacyFunctionsOnly: legacyFunctionsOnly, pgIgnoreIndexes: ignoreIndexes, | ||
(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, pgOwnerConnectionString: ownerConnectionString, | ||
/* | ||
@@ -202,3 +204,4 @@ * `subscriptions` acts as a feature flag telling us to fetch all the | ||
*/ | ||
subscriptions }, graphileBuildOptions, graphqlBuildOptions)); | ||
subscriptions, | ||
live }, graphileBuildOptions, graphqlBuildOptions)); | ||
}; | ||
@@ -205,0 +208,0 @@ function abort(e) { |
{ | ||
"name": "postgraphile-core", | ||
"version": "4.3.2-alpha.0", | ||
"version": "4.3.2-alpha.2", | ||
"description": "", | ||
@@ -24,4 +24,4 @@ "main": "node8plus/index.js", | ||
"@types/graphql": "^14.0.3", | ||
"graphile-build": "4.3.2-alpha.0", | ||
"graphile-build-pg": "4.3.2-alpha.0" | ||
"graphile-build": "4.3.2-alpha.2", | ||
"graphile-build-pg": "4.3.2-alpha.2" | ||
}, | ||
@@ -56,3 +56,4 @@ "devDependencies": { | ||
"node": ">=8.6" | ||
} | ||
}, | ||
"gitHead": "f4f2765fd82939b32b7f73d55416660411549168" | ||
} |
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
31863
324
+ Addedgraphile-build@4.3.2-alpha.2(transitive)
+ Addedgraphile-build-pg@4.3.2-alpha.2(transitive)
- Removedgraphile-build@4.3.2-alpha.0(transitive)
- Removedgraphile-build-pg@4.3.2-alpha.0(transitive)
Updatedgraphile-build@4.3.2-alpha.2