fraiseql-cli 2.3.2

CLI tools for FraiseQL v2 - Schema compilation and development utilities
Documentation
//! Schema format handling
//!
//! This module handles the intermediate schema format (language-agnostic)
//! and converts it to `CompiledSchema` (Rust-specific).

pub mod advanced_types;
pub mod converter;
pub mod database_validator;
pub mod intermediate;
pub mod lookup_data;
pub mod merger;
pub mod multi_file_loader;
pub mod optimizer;
pub mod rich_filters;
pub mod sql_templates;
pub mod validator;

pub use converter::SchemaConverter;
pub use intermediate::{IntermediateScalar, IntermediateSchema};
pub use merger::SchemaMerger;
pub use multi_file_loader::MultiFileLoader;
pub use optimizer::{OptimizationReport, SchemaOptimizer};
pub use validator::SchemaValidator;

/// GraphQL built-in scalar type names.
///
/// Used by the validator and converter to seed the known-type registry so
/// fields typed as these names are never flagged as unknown.
pub(crate) const BUILTIN_SCALAR_NAMES: &[&str] =
    &["Int", "Float", "String", "Boolean", "ID", "JSON"];

#[cfg(test)]
mod tests;