Skip to content

Commit

Permalink
Merge pull request #4853 from systeminit/revert-4847-victor/eng-2696-…
Browse files Browse the repository at this point in the history
…migrate-current-diagram-to-view

Revert "Feat: migrate current diagram to view"
  • Loading branch information
vbustamante authored Oct 22, 2024
2 parents 779ca4a + e871d7f commit 276bd9f
Show file tree
Hide file tree
Showing 58 changed files with 449 additions and 3,418 deletions.
11 changes: 3 additions & 8 deletions lib/dal-test/src/expected.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#![allow(clippy::expect_used)]

use crate::helpers::ChangeSetTestHelpers;
use dal::diagram::geometry::RawGeometry;
use dal::{
self,
component::ComponentGeometry,
prop::{Prop, PropPath},
property_editor::values::PropertyEditorValues,
schema::variant::authoring::VariantAuthoringClient,
Expand Down Expand Up @@ -380,13 +380,8 @@ impl ExpectComponent {
.expect("get component by id")
}

pub async fn geometry(self, ctx: &DalContext) -> RawGeometry {
self.component(ctx)
.await
.geometry(ctx)
.await
.expect("get geometry for component")
.raw()
pub async fn geometry(self, ctx: &DalContext) -> ComponentGeometry {
self.component(ctx).await.geometry()
}

pub async fn view(self, ctx: &DalContext) -> Option<serde_json::Value> {
Expand Down
Loading

0 comments on commit 276bd9f

Please sign in to comment.