@gradientedge/cdk-utils 4.11.2 → 4.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -173,7 +173,7 @@ class GraphQLApiLambda extends common_1.CommonConstruct {
|
|
|
173
173
|
* @protected
|
|
174
174
|
*/
|
|
175
175
|
createApiDomain() {
|
|
176
|
-
this.graphQLApiDomain = this.apiManager.createApiDomain(`${this.id}-api-domain`, this, this.isProductionStage()
|
|
176
|
+
this.graphQLApiDomain = this.apiManager.createApiDomain(`${this.id}-api-domain`, this, this.isProductionStage() || this.props.skipStageForARecords
|
|
177
177
|
? `${this.props.apiSubDomain}.${this.fullyQualifiedDomainName}`
|
|
178
178
|
: `${this.props.apiSubDomain}-${this.props.stage}.${this.fullyQualifiedDomainName}`, this.graphQLApiCertificate);
|
|
179
179
|
}
|
package/package.json
CHANGED
|
@@ -207,7 +207,7 @@ export class GraphQLApiLambda extends CommonConstruct {
|
|
|
207
207
|
this.graphQLApiDomain = this.apiManager.createApiDomain(
|
|
208
208
|
`${this.id}-api-domain`,
|
|
209
209
|
this,
|
|
210
|
-
this.isProductionStage()
|
|
210
|
+
this.isProductionStage() || this.props.skipStageForARecords
|
|
211
211
|
? `${this.props.apiSubDomain}.${this.fullyQualifiedDomainName}`
|
|
212
212
|
: `${this.props.apiSubDomain}-${this.props.stage}.${this.fullyQualifiedDomainName}`,
|
|
213
213
|
this.graphQLApiCertificate
|