hunk.code_window: import com.appsmith.server.repositories.BaseAppsmithRepositoryImpl;
   import com.appsmith.server.repositories.CacheableRepositoryHelper;
   import com.appsmith.server.repositories.DatasourceStorageStructureRepository;
   import org.springframework.beans.factory.annotation.Autowired;
   import org.springframework.context.annotation.Lazy;
   import org.springframework.data.mongodb.core.ReactiveMongoOperations;
   import org.springframework.data.mongodb.core.convert.MongoConverter;
  
hunk.labels: keep keep replace replace replace keep keep
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomDatasourceStorageStructureRepositoryCEImpl.java
hunk.type: replace
file: package com.appsmith.external.models;
  
  import com.appsmith.external.views.Views;
  import com.fasterxml.jackson.annotation.JsonView;
  import lombok.Getter;
  import lombok.Setter;
  import lombok.experimental.FieldNameConstants;
  
  @Setter
  @Getter
  @FieldNameConstants
  public abstract class BranchAwareDomain extends BaseDomain {
      // This field will be used to store the default/root resource IDs for branched resources generated for git
      // connected applications and will be used to connect resources across the branches
      @JsonView(Views.Internal.class)
      DefaultResources defaultResources;
  
      @Override
      public void sanitiseToExportDBObject() {
          this.setDefaultResources(null);
          super.sanitiseToExportDBObject();
      }
  
      public static class Fields extends BaseDomain.Fields {}
  }
  