Skip to content

Commit

Permalink
chore: add Feature flag for timestamp field of modelgen (#7273)
Browse files Browse the repository at this point in the history
Add the feature flag value for adding timestamp fields in modelgen. Related PR: aws-amplify/amplify-codegen#114

Related docs PR: aws-amplify/docs#3192
  • Loading branch information
AaronZyLee authored May 6, 2021
1 parent 7aed706 commit cda63df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/amplify-cli-core/src/feature-flags/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,12 @@ export class FeatureFlags {
defaultValueForExistingProjects: false,
defaultValueForNewProjects: true,
},
{
name: 'addTimestampFields',
type: 'boolean',
defaultValueForExistingProjects: false,
defaultValueForNewProjects: true,
},
]);

this.registerFlag('appSync', [
Expand Down

0 comments on commit cda63df

Please sign in to comment.