graphile-build-pg
Advanced tools
Comparing version 4.0.0-beta.1 to 4.0.0-beta.2
@@ -313,3 +313,3 @@ "use strict"; | ||
this.lockEverything(); | ||
let buildObject = this.compiledData.select.length ? sql.fragment`json_build_object(${sql.join(this.compiledData.select.map(([sqlFragment, alias]) => sql.fragment`${sql.literal(alias)}, ${sqlFragment}`), ", ")})` : sql.fragment`to_json(${this.getTableAlias()}.*)`; | ||
let buildObject = this.compiledData.select.length ? sql.fragment`json_build_object(${sql.join(this.compiledData.select.map(([sqlFragment, alias]) => sql.fragment`${sql.literal(alias)}, ${sqlFragment}`), ", ")})` : sql.fragment`to_json(${this.getTableAlias()})`; | ||
if (addNullCase) { | ||
@@ -316,0 +316,0 @@ buildObject = sql.fragment`(case when ${this.getTableAlias()} is not distinct from null then null else ${buildObject} end)`; |
{ | ||
"name": "graphile-build-pg", | ||
"version": "4.0.0-beta.1", | ||
"version": "4.0.0-beta.2", | ||
"description": "Build a GraphQL schema by reflection over a PostgreSQL schema. Easy to customize since it's built with plugins on graphile-build", | ||
@@ -40,3 +40,3 @@ "main": "node8plus/index.js", | ||
"debug": ">=2 <3", | ||
"graphile-build": "4.0.0-beta.1", | ||
"graphile-build": "4.0.0-beta.2", | ||
"graphql-iso-date": "^3.2.0", | ||
@@ -43,0 +43,0 @@ "jsonwebtoken": "^8.1.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
932194
126
5214
+ Addedgraphile-build@4.0.0-beta.2(transitive)
+ Addedgraphql-parse-resolve-info@4.0.0-beta.2(transitive)
- Removedgraphile-build@4.0.0-beta.1(transitive)
- Removedgraphql-parse-resolve-info@4.0.0-beta.1(transitive)
Updatedgraphile-build@4.0.0-beta.2