Socket
Socket
Sign inDemoInstall

@aws-amplify/graphql-relational-transformer

Package Overview
Dependencies
Maintainers
10
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-relational-transformer - npm Package Compare versions

Comparing version 2.3.6 to 2.4.0-implicit-fields.0

10

CHANGELOG.md

@@ -6,2 +6,12 @@ # Change Log

# [2.4.0-implicit-fields.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-relational-transformer@2.3.6...@aws-amplify/graphql-relational-transformer@2.4.0-implicit-fields.0) (2024-02-07)
### Bug Fixes
- use correct subscription type ([be35600](https://github.com/aws-amplify/amplify-category-api/commit/be3560026efdd29a7b4bd1433e805508a552c8d6))
### Features
- add implicit relational fields to subscription filter input ([628b4ee](https://github.com/aws-amplify/amplify-category-api/commit/628b4eee6224c5fb976250bd93d1be7ddc9cd4dd))
## [2.3.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-relational-transformer@2.3.5...@aws-amplify/graphql-relational-transformer@2.3.6) (2024-02-05)

@@ -8,0 +18,0 @@

@@ -105,2 +105,7 @@ "use strict";

}
const subscriptionFilterInputName = (0, graphql_transformer_core_1.getSubscriptionFilterInputName)(object.name.value);
const filterSubscriptionInput = ctx.output.getType(subscriptionFilterInputName);
if (filterSubscriptionInput) {
updateFilterConnectionInputWithConnectionFields(ctx, filterSubscriptionInput, object, connectionAttributeName, primaryKeyConnectionFieldType, field, sortKeyFields);
}
config.connectionFields.push(connectionAttributeName);

@@ -161,2 +166,7 @@ config.connectionFields.push(...(0, graphql_transformer_core_1.getSortKeyFieldNames)(relatedType).map((it) => (0, utils_1.getSortKeyConnectionAttributeName)(object.name.value, field.name.value, it)));

}
const subscriptionFilterInputName = (0, graphql_transformer_core_1.getSubscriptionFilterInputName)(object.name.value);
const filterSubscriptionInput = ctx.output.getType(subscriptionFilterInputName);
if (filterSubscriptionInput) {
updateFilterConnectionInputWithConnectionFields(ctx, filterSubscriptionInput, object, connectionAttributeName, primaryKeyConnectionFieldType, field, sortKeyFields);
}
};

@@ -163,0 +173,0 @@ exports.ensureHasManyConnectionField = ensureHasManyConnectionField;

28

package.json
{
"name": "@aws-amplify/graphql-relational-transformer",
"version": "2.3.6",
"version": "2.4.0-implicit-fields.0",
"description": "Amplify GraphQL relational modeling transformers",

@@ -31,13 +31,13 @@ "repository": {

"dependencies": {
"@aws-amplify/graphql-index-transformer": "2.3.5",
"@aws-amplify/graphql-model-transformer": "2.4.5",
"@aws-amplify/graphql-transformer-core": "2.4.5",
"@aws-amplify/graphql-transformer-interfaces": "3.3.3",
"@aws-amplify/graphql-index-transformer": "2.3.6-implicit-fields.0",
"@aws-amplify/graphql-model-transformer": "2.5.0-implicit-fields.0",
"@aws-amplify/graphql-transformer-core": "2.5.0-implicit-fields.0",
"@aws-amplify/graphql-transformer-interfaces": "3.4.0-implicit-fields.0",
"graphql": "^15.5.0",
"graphql-mapping-template": "4.20.14",
"graphql-transformer-common": "4.28.0",
"graphql-mapping-template": "4.20.15-implicit-fields.0",
"graphql-transformer-common": "4.28.1-implicit-fields.0",
"immer": "^9.0.12"
},
"devDependencies": {
"@aws-amplify/graphql-transformer-test-utils": "0.4.5"
"@aws-amplify/graphql-transformer-test-utils": "0.4.6-implicit-fields.0"
},

@@ -65,3 +65,3 @@ "peerDependencies": {

"global": {
"branches": 77,
"branches": 76,
"functions": 90,

@@ -75,5 +75,11 @@ "lines": 90

],
"testEnvironment": "../../FixJestEnvironment.js"
"testEnvironment": "../../FixJestEnvironment.js",
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/__tests__/"
]
},
"gitHead": "9791c1ae7481483371655cad20a1179286c01018"
"gitHead": "d3c8f090361933fc72f45ddef935529bf3b0611d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc