Skip to content

Commit

Permalink
Update packages/appsync-modelgen-plugin/src/visitors/appsync-java-vis…
Browse files Browse the repository at this point in the history
…itor.ts

Co-authored-by: Dane Pilcher <[email protected]>
  • Loading branch information
tylerjroach and dpilch authored Oct 4, 2023
1 parent b318558 commit a0de407
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class AppSyncModelJavaVisitor<

// We override lazy generation to also only generate lazy models if data store is disabled
protected override isGenerateModelsForLazyLoadAndCustomSelectionSet(): boolean {
return super.isGenerateModelsForLazyLoadAndCustomSelectionSet() && !(this.config.isDataStoreEnabled ?? false);
return super.isGenerateModelsForLazyLoadAndCustomSelectionSet() && !this.config.isDataStoreEnabled;
}

generate(): string {
Expand Down

0 comments on commit a0de407

Please sign in to comment.