pub struct SchemaMerger;Expand description
Schema merger combining language types and TOML config
Implementations§
Source§impl SchemaMerger
impl SchemaMerger
Sourcepub fn merge_files(
types_path: &str,
toml_path: &str,
) -> Result<IntermediateSchema>
pub fn merge_files( types_path: &str, toml_path: &str, ) -> Result<IntermediateSchema>
Sourcepub fn merge_toml_only(toml_path: &str) -> Result<IntermediateSchema>
pub fn merge_toml_only(toml_path: &str) -> Result<IntermediateSchema>
Sourcepub fn merge_from_directory(
toml_path: &str,
schema_dir: &str,
) -> Result<IntermediateSchema>
pub fn merge_from_directory( toml_path: &str, schema_dir: &str, ) -> Result<IntermediateSchema>
Sourcepub fn merge_explicit_files(
toml_path: &str,
type_files: &[String],
query_files: &[String],
mutation_files: &[String],
) -> Result<IntermediateSchema>
pub fn merge_explicit_files( toml_path: &str, type_files: &[String], query_files: &[String], mutation_files: &[String], ) -> Result<IntermediateSchema>
Sourcepub fn merge_from_domains(toml_path: &str) -> Result<IntermediateSchema>
pub fn merge_from_domains(toml_path: &str) -> Result<IntermediateSchema>
Sourcepub fn merge_with_includes(toml_path: &str) -> Result<IntermediateSchema>
pub fn merge_with_includes(toml_path: &str) -> Result<IntermediateSchema>
Auto Trait Implementations§
impl Freeze for SchemaMerger
impl RefUnwindSafe for SchemaMerger
impl Send for SchemaMerger
impl Sync for SchemaMerger
impl Unpin for SchemaMerger
impl UnwindSafe for SchemaMerger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more