reactive_graph_plugin_api/graphql/
graphql_query_service.rs

1use async_trait::async_trait;
2use serde_json::Error;
3
4#[async_trait]
5pub trait GraphQLQueryService: Send + Sync {
6    /// Runs the given GraphQL query.
7    async fn query(&self, request: &str) -> Result<String, Error>;
8}