Repository: Brendonovich/prisma-client-rust (language: rust)

Issue:
`upsert.include` should accept `IncludeType`
https://github.com/Brendonovich/prisma-client-rust/blob/e12e6932be7d224410784b52143384cc9235da3b/src/queries/find_many.rs#L151-L154

https://github.com/Brendonovich/prisma-client-rust/blob/e12e6932be7d224410784b52143384cc9235da3b/src/queries/upsert.rs#L94-L97

Should be easy to fix.


Discussion / hints:

Fix patch:
diff --git a/src/queries/upsert.rs b/src/queries/upsert.rs
index c5eab1dc..d7194e4a 100644
--- a/src/queries/upsert.rs
+++ b/src/queries/upsert.rs
@@ -2,7 +2,7 @@ use prisma_models::PrismaValue;
 use query_core::{Operation, SelectionBuilder};
 
 use crate::{
-    include::Include,
+    include::{Include, IncludeType},
     select::{Select, SelectType},
     BatchQuery, ModelAction, ModelActionType, ModelActions, ModelMutationType,
     PrismaClientInternals, WhereInput,
@@ -91,7 +91,7 @@ where
         Select::new(self.client, op)
     }
 
-    pub fn include<I: SelectType<ModelData = Actions::Data>>(
+    pub fn include<I: IncludeType<ModelData = Actions::Data>>(
         self,
         select: I,
     ) -> Include<'a, I::Data> {


Test patch: