1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! GraphQL introspection types per GraphQL spec §4.1-4.2.
//!
//! This module provides standard GraphQL introspection support, enabling
//! tools like Apollo Sandbox, `GraphiQL`, and Altair to query the schema.
//!
//! # Architecture
//!
//! FraiseQL generates introspection responses at **compile time** for performance.
//! The `IntrospectionSchema` is built from `CompiledSchema` and cached.
//!
//! # Supported Queries
//!
//! - `__schema` - Returns the full schema introspection
//! - `__type(name: String!)` - Returns a specific type's introspection
//! - `__typename` - Handled at projection level, not here
//!
//! # Module Layout
//!
//! | Sub-module | Responsibility |
//! |---|---|
//! | `types` | All `__*` introspection structs and enums |
//! | `field_resolver` | `FieldType` → `IntrospectionType` conversion, validation rules |
//! | `type_resolver` | Per-type builders (object, enum, input, interface, union, scalars) |
//! | `directive_builder` | Built-in and custom directive definitions |
//! | `schema_builder` | Root type builders, `IntrospectionBuilder`, `IntrospectionResponses` |
// Re-export the complete public API (unchanged from the old flat module).
pub use ;
pub use ;