You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, you need to define a context value for amplifyEnvironmentName to define a suffix for the database tables. In my use case, I have multiple stacks that will generate the same AmplifyGraphqlApi but for different regions. Additionally, i would like to use different namings for the suffix.
Describe the solution you'd like
Add a property in the constructor that may accept an environment, and as a fallback, it would consume from the context as it is right now or NONE if no conditions were met
Describe alternatives you've considered
(No alternatives)
Additional context
No response
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
Would this feature include a breaking change?
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Hi, how do you define a context value for amplifyEnvironmentName to define a suffix for the database tables? Is ths in Gen 2. I have been looking this. All my table look like this: TableName-<Uniqueu_id>-NONE. I can't figureout how to replace the NONE with env variable like Dev, stage or Prod. Any help will be useful. Thank you
Describe the feature you'd like to request
Right now, you need to define a context value for
amplifyEnvironmentName
to define a suffix for the database tables. In my use case, I have multiple stacks that will generate the same AmplifyGraphqlApi but for different regions. Additionally, i would like to use different namings for the suffix.Describe the solution you'd like
Add a property in the constructor that may accept an environment, and as a fallback, it would consume from the context as it is right now or NONE if no conditions were met
Describe alternatives you've considered
(No alternatives)
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: