Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Natoandro committed Feb 23, 2024
1 parent 3caf2a1 commit 9f42496
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
8 changes: 0 additions & 8 deletions typegate/deno.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1106,13 +1106,5 @@
"https://raw.githubusercontent.com/metatypedev/metatype/feat/MET-250/refactor-ffi/typegate/src/typegraph/visitor.ts": "854f2dd1adadc62ea2050f6e0f293c88f76d4feefb7620bcc490049fb8967043",
"https://raw.githubusercontent.com/metatypedev/metatype/feat/MET-250/refactor-ffi/typegate/src/types.ts": "1857e6bf96b0642e15352e10dd4e175c4983edc421868ae0158ce271e075926d",
"https://raw.githubusercontent.com/metatypedev/metatype/feat/MET-250/refactor-ffi/typegate/src/utils.ts": "8a34944dc326d1759c67fcdd4a714f99838d5eac040773bcdb7287a00118923b"
},
"workspace": {
"packageJson": {
"dependencies": [
"npm:chance@^1.1.11",
"npm:yarn@^1.22.19"
]
}
}
}
1 change: 0 additions & 1 deletion typegraph/core/src/runtimes/prisma/relationship/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl PrismaLink {
type_ref.set("target_field", target_field);
}
let res = type_ref.build()?;
eprintln!("type_ref: {:?}", res);
Ok(res)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl TypeGen for OutType {
}
Property::Unmanaged(type_id) => {
// just forward the original type
builder.prop(key, remove_injections_recursive(*type_id)?);
builder.prop(key, *type_id);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl TypeGen for WithNestedCount {
}

Property::Unmanaged(type_id) => {
builder.prop(key, remove_injections_recursive(*type_id)?);
builder.prop(key, *type_id);
}
}
}
Expand Down

0 comments on commit 9f42496

Please sign in to comment.