@platformatic/sql-graphql
Advanced tools
Comparing version 0.16.0 to 0.17.0
'use strict' | ||
const graphql = require('graphql') | ||
const camelcase = require('camelcase') | ||
@@ -19,3 +20,3 @@ function setupSubscriptions (app, metaMap, resolvers, ignores) { | ||
const entity = app.platformatic.entities[field.singularName] | ||
const primaryKey = entity.primaryKeys.values().next().value | ||
const primaryKey = camelcase(entity.primaryKeys.values().next().value) | ||
const { type } = meta | ||
@@ -22,0 +23,0 @@ const saved = `${field.singularName}Saved` |
{ | ||
"name": "@platformatic/sql-graphql", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "Map SQL dbs to GraphQL", | ||
@@ -17,16 +17,16 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@mercuriusjs/gateway": "^1.0.0", | ||
"fastify": "^4.10.2", | ||
"@mercuriusjs/gateway": "^1.2.0", | ||
"fastify": "^4.13.0", | ||
"snazzy": "^9.0.0", | ||
"standard": "^17.0.0", | ||
"tap": "^16.3.2", | ||
"tsd": "^0.25.0", | ||
"ws": "^8.11.0", | ||
"@platformatic/sql-events": "0.16.0", | ||
"@platformatic/sql-mapper": "0.16.0" | ||
"tap": "^16.3.4", | ||
"tsd": "^0.26.0", | ||
"ws": "^8.12.1", | ||
"@platformatic/sql-events": "0.17.0", | ||
"@platformatic/sql-mapper": "0.17.0" | ||
}, | ||
"dependencies": { | ||
"@mercuriusjs/federation": "^1.0.0", | ||
"@mercuriusjs/federation": "^1.0.1", | ||
"camelcase": "^6.3.0", | ||
"fastify-plugin": "^4.4.0", | ||
"fastify-plugin": "^4.5.0", | ||
"graphql": "^16.6.0", | ||
@@ -36,3 +36,3 @@ "graphql-scalars": "^1.20.1", | ||
"inflected": "^2.1.0", | ||
"mercurius": "^12.0.0" | ||
"mercurius": "^12.2.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "tsd": { |
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
260329
35
10149
Updatedfastify-plugin@^4.5.0
Updatedmercurius@^12.2.0