pub trait RemoteGraphQLDataSource: Sync + Send + 'static {
    fn name(&self) -> &str;
    fn address(&self) -> &str;

    fn tls(&self) -> bool { ... }
    fn query_path(&self) -> Option<&str> { ... }
    fn subscribe_path(&self) -> Option<&str> { ... }
    fn url_query(&self) -> String { ... }
    fn url_subscription(&self) -> String { ... }
}
Expand description

Represents a connection between your federated gateway and one of your subgraphs.

Required Methods

If you have a multiple sources they must have a unique name

Example countries.trevorblades.com You shouldn`t use http(s)://

Provided Methods

Implementations on Foreign Types

Implementors