@aws-amplify/graphql-searchable-transformer
Advanced tools
Comparing version 0.10.2 to 0.10.3-beta.1
@@ -6,2 +6,24 @@ # Change Log | ||
## [0.10.3-beta.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-searchable-transformer@0.10.2...@aws-amplify/graphql-searchable-transformer@0.10.3-beta.1) (2021-12-21) | ||
### Bug Fixes | ||
* generate list types will nullable elements ([#9310](https://github.com/aws-amplify/amplify-cli/issues/9310)) ([e972956](https://github.com/aws-amplify/amplify-cli/commit/e9729565fef2ac7df51f7fc7f345da536f385ac1)) | ||
## [0.10.3-beta.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-searchable-transformer@0.10.2...@aws-amplify/graphql-searchable-transformer@0.10.3-beta.0) (2021-12-21) | ||
### Bug Fixes | ||
* generate list types will nullable elements ([#9310](https://github.com/aws-amplify/amplify-cli/issues/9310)) ([e972956](https://github.com/aws-amplify/amplify-cli/commit/e9729565fef2ac7df51f7fc7f345da536f385ac1)) | ||
## [0.10.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-searchable-transformer@0.10.1...@aws-amplify/graphql-searchable-transformer@0.10.2) (2021-12-17) | ||
@@ -8,0 +30,0 @@ |
@@ -143,3 +143,3 @@ "use strict"; | ||
connectionTypeExtension = (0, graphql_transformer_common_1.extensionWithFields)(connectionTypeExtension, [ | ||
(0, graphql_transformer_common_1.makeField)('items', [], (0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeListType)((0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeNamedType)(definition.name.value))))), | ||
(0, graphql_transformer_common_1.makeField)('items', [], (0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeListType)((0, graphql_transformer_common_1.makeNamedType)(definition.name.value)))), | ||
]); | ||
@@ -149,3 +149,3 @@ connectionTypeExtension = (0, graphql_transformer_common_1.extensionWithFields)(connectionTypeExtension, [ | ||
(0, graphql_transformer_common_1.makeField)('total', [], (0, graphql_transformer_common_1.makeNamedType)('Int')), | ||
(0, graphql_transformer_common_1.makeField)('aggregateItems', [], (0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeListType)((0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeNamedType)(`SearchableAggregateResult`))))), | ||
(0, graphql_transformer_common_1.makeField)('aggregateItems', [], (0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeListType)((0, graphql_transformer_common_1.makeNamedType)(`SearchableAggregateResult`)))), | ||
]); | ||
@@ -152,0 +152,0 @@ ctx.output.addObjectExtension(connectionTypeExtension); |
{ | ||
"name": "@aws-amplify/graphql-searchable-transformer", | ||
"version": "0.10.2", | ||
"version": "0.10.3-beta.1", | ||
"description": "Amplfy GraphQL @searchable transformer", | ||
@@ -30,3 +30,3 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-transformer-core": "0.15.1", | ||
"@aws-amplify/graphql-transformer-core": "0.15.2-beta.1", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.12.3", | ||
@@ -68,3 +68,3 @@ "@aws-cdk/aws-appsync": "~1.124.0", | ||
}, | ||
"gitHead": "85486b25b5ade0820088d98e4b523c851ffb671b" | ||
"gitHead": "2f804235cc24c33a8327b904c41b29dfbfdf8027" | ||
} |
@@ -248,3 +248,3 @@ import { TransformerPluginBase, InvalidDirectiveError, MappingTemplate, DirectiveWrapper } from '@aws-amplify/graphql-transformer-core'; | ||
connectionTypeExtension = extensionWithFields(connectionTypeExtension, [ | ||
makeField('items', [], makeNonNullType(makeListType(makeNonNullType(makeNamedType(definition.name.value))))), | ||
makeField('items', [], makeNonNullType(makeListType(makeNamedType(definition.name.value)))), | ||
]); | ||
@@ -254,3 +254,3 @@ connectionTypeExtension = extensionWithFields(connectionTypeExtension, [ | ||
makeField('total', [], makeNamedType('Int')), | ||
makeField('aggregateItems', [], makeNonNullType(makeListType(makeNonNullType(makeNamedType(`SearchableAggregateResult`))))), | ||
makeField('aggregateItems', [], makeNonNullType(makeListType(makeNamedType(`SearchableAggregateResult`)))), | ||
]); | ||
@@ -257,0 +257,0 @@ ctx.output.addObjectExtension(connectionTypeExtension); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
429352
5
12
80
3060
+ Added@aws-amplify/graphql-transformer-core@0.15.2-beta.1(transitive)
- Removed@aws-amplify/graphql-transformer-core@0.15.1(transitive)