Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-connection-transformer

Package Overview
Dependencies
Maintainers
1
Versions
983
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-connection-transformer - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

8

CHANGELOG.md

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

<a name="1.0.13"></a>
## [1.0.13](https://github.com/aws-amplify/amplify-cli/compare/graphql-connection-transformer@1.0.12...graphql-connection-transformer@1.0.13) (2018-08-26)
**Note:** Version bump only for package graphql-connection-transformer
<a name="1.0.12"></a>

@@ -8,0 +16,0 @@ ## [1.0.12](https://github.com/aws-amplify/amplify-cli/compare/graphql-connection-transformer@1.0.11...graphql-connection-transformer@1.0.12) (2018-08-23)

4

lib/definitions.js

@@ -15,3 +15,3 @@ "use strict";

var updatedFields = input.fields.concat([
graphql_transformer_common_1.makeArg(connectionFieldName, nonNull ? graphql_transformer_common_1.makeNonNullType(graphql_transformer_common_1.makeNamedType('ID')) : graphql_transformer_common_1.makeNamedType('ID'))
graphql_transformer_common_1.makeInputValueDefinition(connectionFieldName, nonNull ? graphql_transformer_common_1.makeNonNullType(graphql_transformer_common_1.makeNamedType('ID')) : graphql_transformer_common_1.makeNamedType('ID'))
]);

@@ -23,3 +23,3 @@ return __assign({}, input, { fields: updatedFields });

var updatedFields = input.fields.concat([
graphql_transformer_common_1.makeArg(connectionFieldName, graphql_transformer_common_1.makeNamedType('ID'))
graphql_transformer_common_1.makeInputValueDefinition(connectionFieldName, graphql_transformer_common_1.makeNamedType('ID'))
]);

@@ -26,0 +26,0 @@ return __assign({}, input, { fields: updatedFields });

{
"name": "graphql-connection-transformer",
"version": "1.0.12",
"version": "1.0.13",
"description": "An AppSync model transform for connecting objects.",

@@ -22,6 +22,6 @@ "main": "lib/index.js",

"graphql": "^0.13.2",
"graphql-dynamodb-transformer": "^1.0.12",
"graphql-dynamodb-transformer": "^1.0.13",
"graphql-mapping-template": "^1.0.12",
"graphql-transformer-common": "^1.0.12",
"graphql-transformer-core": "^1.0.12"
"graphql-transformer-common": "^1.0.13",
"graphql-transformer-core": "^1.0.13"
},

@@ -33,3 +33,3 @@ "devDependencies": {

"aws-sdk": "^2.259.1",
"graphql-appsync-transformer": "^1.0.12",
"graphql-appsync-transformer": "^1.0.13",
"jest": "^23.1.0",

@@ -36,0 +36,0 @@ "ts-jest": "^22.4.6",

import { InputObjectTypeDefinitionNode } from 'graphql'
import { makeArg, makeNonNullType, makeNamedType } from 'graphql-transformer-common';
import { makeInputValueDefinition, makeNonNullType, makeNamedType } from 'graphql-transformer-common';

@@ -11,3 +11,3 @@ export function updateCreateInputWithConnectionField(

...input.fields,
makeArg(connectionFieldName, nonNull ? makeNonNullType(makeNamedType('ID')) : makeNamedType('ID'))
makeInputValueDefinition(connectionFieldName, nonNull ? makeNonNullType(makeNamedType('ID')) : makeNamedType('ID'))
]

@@ -26,3 +26,3 @@ return {

...input.fields,
makeArg(connectionFieldName, makeNamedType('ID'))
makeInputValueDefinition(connectionFieldName, makeNamedType('ID'))
]

@@ -29,0 +29,0 @@ return {

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