mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-22 07:12:12 +01:00
add todo for not dropping proc
This commit is contained in:
parent
06fd730a1c
commit
b63c44aded
@ -1,13 +1,11 @@
|
||||
use core::time;
|
||||
use std::thread::sleep;
|
||||
|
||||
use graphql_introspection_query::introspection_response::IntrospectionResponse;
|
||||
|
||||
use crate::{config::Config, engine::Engine, session::Session};
|
||||
|
||||
pub fn get_schema() -> eyre::Result<IntrospectionResponse> {
|
||||
//TODO: Implement cotext for proc
|
||||
let cfg = Config::new(None, None, None, None);
|
||||
|
||||
//TODO: Implement context for proc
|
||||
let (conn, proc) = Engine::new().start(&cfg)?;
|
||||
let session = Session::new();
|
||||
let req_builder = session.start(cfg, &conn)?;
|
||||
|
Loading…
Reference in New Issue
Block a user