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

@aws-amplify/graphql-searchable-transformer

Package Overview
Dependencies
Maintainers
8
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.10.2 to 0.10.3-beta.1

22

CHANGELOG.md

@@ -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 @@

4

lib/graphql-searchable-transformer.js

@@ -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

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