From 7a9eb9cd27489b0cca14d074e0cad641eecc75f8 Mon Sep 17 00:00:00 2001 From: Panagiotis Karatakis Date: Sat, 8 Oct 2022 12:08:15 +0300 Subject: [PATCH] update to use crate libs --- derive/src/root_query.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/derive/src/root_query.rs b/derive/src/root_query.rs index 682860fa..6829f0bc 100644 --- a/derive/src/root_query.rs +++ b/derive/src/root_query.rs @@ -143,7 +143,7 @@ pub fn cursor_query(name: &Ident, path: &TokenStream) -> TokenStream { ) -> async_graphql::types::connection::Connection { use sea_orm::prelude::*; use sea_orm::Iterable; - use itertools::Itertools; + use seaography::itertools::Itertools; use async_graphql::types::connection::CursorType; println!("cursor_filters: {:?}", filters); @@ -291,7 +291,7 @@ pub fn cursor_dependencies() -> TokenStream { } pub fn map_cursor_values(values: Vec) -> sea_orm::sea_query::value::ValueTuple { - use itertools::Itertools; + use seaography::itertools::Itertools; if values.len() == 1 { sea_orm::sea_query::value::ValueTuple::One(values[0].clone()) @@ -445,7 +445,7 @@ pub fn cursor_dependencies() -> TokenStream { } fn encode_cursor(&self) -> String { - use itertools::Itertools; + use seaography::itertools::Itertools; self.0.iter().map(|value| -> String { match value {