mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-08-06 15:33:27 +02:00
add fields
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use graphql_introspection_query::introspection_response::IntrospectionResponse;
|
||||
use dagger_core::introspection::IntrospectionResponse;
|
||||
|
||||
use crate::{config::Config, engine::Engine, session::Session};
|
||||
|
||||
|
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user