gelx 0.8.5

Generate fully typed rust code from your gel schema and inline queries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use gel_tokio::Client;
use gel_tokio::Error;
use gel_tokio::GlobalsDelta;
pub use gel_tokio::create_client;

/// Create a gel client with the provided globals trait.
pub async fn create_client_with_globals(globals: impl GlobalsDelta) -> Result<Client, Error> {
	let client = create_client().await?.with_globals(globals);

	Ok(client)
}