graphql_composition/grafbase_extensions.rs
1/// A Grafbase extension registered for composition.
2pub struct LoadedExtension {
3 pub(crate) url: String,
4 /// The unique name of the extension.
5 pub(crate) name: String,
6}
7
8impl LoadedExtension {
9 /// Construct a [LoadedExtension].
10 pub fn new(url: String, name: String) -> Self {
11 Self { url, name }
12 }
13}