graphql-connection-transformer
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -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) |
@@ -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
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
104866