add fields

This commit is contained in:
2023-01-30 22:21:16 +01:00
parent d2cddff365
commit 496a687bc3
20 changed files with 1133 additions and 634 deletions

View File

@@ -1,4 +1,4 @@
use graphql_introspection_query::introspection_response::IntrospectionResponse;
use dagger_core::introspection::IntrospectionResponse;
use crate::{config::Config, engine::Engine, session::Session};

View File

@@ -1,5 +1,5 @@
use dagger_core::introspection::{self, IntrospectionResponse};
use graphql_client::GraphQLQuery;
use graphql_introspection_query::introspection_response::IntrospectionResponse;
use reqwest::{
blocking::{Client, RequestBuilder},
header::{HeaderMap, HeaderValue, ACCEPT, CONTENT_TYPE},
@@ -65,7 +65,7 @@ impl Session {
return Err(eyre::anyhow!(error_message));
}
let json: IntrospectionResponse = res.json()?;
let json: introspection::IntrospectionResponse = res.json()?;
Ok(json)
}