@@ -546,7 +546,7 @@ struct StoredSubgraphManifest {
546546}
547547
548548impl StoredSubgraphManifest {
549- fn as_manifest ( self , schema : & InputSchema ) -> SubgraphManifestEntity {
549+ fn into_manifest_entity ( self , schema : & InputSchema ) -> SubgraphManifestEntity {
550550 let e: Vec < _ > = self
551551 . entities_with_causality_region
552552 . into_iter ( )
@@ -568,7 +568,7 @@ impl StoredSubgraphManifest {
568568struct StoredDeploymentEntity ( crate :: detail:: DeploymentDetail , StoredSubgraphManifest ) ;
569569
570570impl StoredDeploymentEntity {
571- fn as_subgraph_deployment (
571+ fn into_subgraph_deployment_entity (
572572 self ,
573573 schema : & InputSchema ,
574574 ) -> Result < SubgraphDeploymentEntity , StoreError > {
@@ -611,7 +611,7 @@ impl StoredDeploymentEntity {
611611 . map_err ( |b| internal_error ! ( "invalid debug fork `{}`" , b) ) ?;
612612
613613 Ok ( SubgraphDeploymentEntity {
614- manifest : manifest. as_manifest ( schema) ,
614+ manifest : manifest. into_manifest_entity ( schema) ,
615615 failed : detail. failed ,
616616 health : detail. health . into ( ) ,
617617 synced_at : detail. synced_at ,
@@ -653,7 +653,7 @@ pub async fn deployment_entity(
653653 . await
654654 . map ( DeploymentDetail :: from) ?;
655655
656- StoredDeploymentEntity ( detail, manifest) . as_subgraph_deployment ( schema)
656+ StoredDeploymentEntity ( detail, manifest) . into_subgraph_deployment_entity ( schema)
657657}
658658
659659#[ derive( Queryable , Identifiable , Insertable ) ]
0 commit comments