@aws-amplify/graphql-transformer-core
Advanced tools
Comparing version 0.6.2-flutter-preview.26 to 0.6.2-flutter-preview.27
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.6.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.6.1...@aws-amplify/graphql-transformer-core@0.6.2) (2021-06-24) | ||
### Bug Fixes | ||
* **graphql-transformer-common:** improve generated graphql pluralization ([#7258](https://github.com/aws-amplify/amplify-cli/issues/7258)) ([fc3ad0d](https://github.com/aws-amplify/amplify-cli/commit/fc3ad0dd5a12a7912c59ae12024f593b4cdf7f2d)), closes [#4224](https://github.com/aws-amplify/amplify-cli/issues/4224) | ||
## [0.6.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.6.0...@aws-amplify/graphql-transformer-core@0.6.1) (2021-05-26) | ||
@@ -8,0 +19,0 @@ |
@@ -11,3 +11,3 @@ import { FeatureFlagProvider, TransformerPluginProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
readonly stacks?: Record<string, Template>; | ||
readonly featuerFlags?: FeatureFlagProvider; | ||
readonly featureFlags?: FeatureFlagProvider; | ||
} | ||
@@ -14,0 +14,0 @@ export declare type StackMapping = { |
@@ -46,3 +46,3 @@ "use strict"; | ||
this.app = new core_1.App(); | ||
const context = new transformer_context_1.TransformerContext(this.app, parsedDocument, this.stackMappingOverrides, this.options.featuerFlags); | ||
const context = new transformer_context_1.TransformerContext(this.app, parsedDocument, this.stackMappingOverrides, this.options.featureFlags); | ||
const validDirectiveNameMap = this.transformers.reduce((acc, t) => ({ ...acc, [t.directive.name.value]: true }), { | ||
@@ -49,0 +49,0 @@ aws_subscribe: true, |
@@ -17,5 +17,5 @@ import { FeatureFlagProvider, GraphQLAPIProvider, StackManagerProvider, TransformerContextOutputProvider, TransformerContextProvider, TransformerDataSourceManagerProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
_api?: GraphQLAPIProvider; | ||
constructor(app: App, inputDocument: DocumentNode, stackMapping: Record<string, string>, featuerFlags?: FeatureFlagProvider); | ||
constructor(app: App, inputDocument: DocumentNode, stackMapping: Record<string, string>, featureFlags?: FeatureFlagProvider); | ||
get api(): GraphQLAPIProvider; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
const datasource_1 = require("./datasource"); | ||
const noop_featuer_flag_1 = require("./noop-featuer-flag"); | ||
const noop_feature_flag_1 = require("./noop-feature-flag"); | ||
const output_1 = require("./output"); | ||
@@ -13,3 +13,3 @@ const provider_registry_1 = require("./provider-registry"); | ||
class TransformerContext { | ||
constructor(app, inputDocument, stackMapping, featuerFlags) { | ||
constructor(app, inputDocument, stackMapping, featureFlags) { | ||
this.inputDocument = inputDocument; | ||
@@ -23,3 +23,3 @@ this.output = new output_1.TransformerOutput(inputDocument); | ||
this.resourceHelper = new resource_helper_1.TransformerResourceHelper(stackManager); | ||
this.featureFlags = featuerFlags !== null && featuerFlags !== void 0 ? featuerFlags : new noop_featuer_flag_1.NoopFeatureFlagProvider(); | ||
this.featureFlags = featureFlags !== null && featureFlags !== void 0 ? featureFlags : new noop_feature_flag_1.NoopFeatureFlagProvider(); | ||
} | ||
@@ -26,0 +26,0 @@ bind(api) { |
{ | ||
"name": "@aws-amplify/graphql-transformer-core", | ||
"version": "0.6.2-flutter-preview.26+def25777c", | ||
"version": "0.6.2-flutter-preview.27+37710261c", | ||
"description": "A framework to transform from GraphQL SDL to AWS CloudFormation.", | ||
@@ -29,3 +29,3 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-transformer-interfaces": "1.6.1-flutter-preview.41+def25777c", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.6.1-flutter-preview.42+37710261c", | ||
"@aws-cdk/assets": "~1.72.0", | ||
@@ -62,3 +62,3 @@ "@aws-cdk/aws-applicationautoscaling": "~1.72.0", | ||
"graphql": "^14.5.8", | ||
"graphql-transformer-common": "4.19.4-flutter-preview.96+def25777c", | ||
"graphql-transformer-common": "4.19.4-flutter-preview.97+37710261c", | ||
"lodash": "^4.17.21", | ||
@@ -87,3 +87,3 @@ "ts-dedent": "^2.0.0" | ||
}, | ||
"gitHead": "def25777c52cacff0da7849e19dcae8428b84fcc" | ||
"gitHead": "37710261cd3f413a2922982998eff635e8425041" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
373866