|
1 |
| -use enums::ENUMS_PREFIX; |
| 1 | +use crate::enums::ENUMS_PREFIX; |
2 | 2 | use graphql_parser;
|
3 |
| -use introspection_response; |
| 3 | +use crate::introspection_response; |
4 | 4 | use proc_macro2::{Ident, Span, TokenStream};
|
5 |
| -use query::QueryContext; |
6 |
| -use schema::DEFAULT_SCALARS; |
| 5 | +use crate::query::QueryContext; |
| 6 | +use crate::schema::DEFAULT_SCALARS; |
7 | 7 |
|
8 | 8 | #[derive(Clone, Debug, PartialEq, Hash)]
|
9 | 9 | pub enum FieldType<'a> {
|
@@ -118,7 +118,7 @@ fn from_schema_type_inner(inner: &graphql_parser::schema::Type, non_null: bool)
|
118 | 118 | }
|
119 | 119 |
|
120 | 120 | fn from_json_type_inner(inner: &introspection_response::TypeRef, non_null: bool) -> FieldType {
|
121 |
| - use introspection_response::*; |
| 121 | + use crate::introspection_response::*; |
122 | 122 |
|
123 | 123 | match inner.kind {
|
124 | 124 | Some(__TypeKind::NON_NULL) => from_json_type_inner(
|
@@ -168,7 +168,7 @@ impl<'a> ::std::convert::From<&'a introspection_response::InputValueType> for Fi
|
168 | 168 | mod tests {
|
169 | 169 | use super::*;
|
170 | 170 | use graphql_parser::schema::Type as GqlParserType;
|
171 |
| - use introspection_response::{FullTypeFieldsType, TypeRef, __TypeKind}; |
| 171 | + use crate::introspection_response::{FullTypeFieldsType, TypeRef, __TypeKind}; |
172 | 172 |
|
173 | 173 | #[test]
|
174 | 174 | fn field_type_from_graphql_parser_schema_type_works() {
|
|
0 commit comments