pub trait ValidationDatabase: Database + HasQueryGroup<ValidationStorage> + Upcast<dyn HirDatabase> + InputDatabase + AstDatabase + HirDatabase {
Show 29 methods fn validate(&self) -> Vec<ApolloDiagnostic>; fn validate_schema(&self) -> Vec<ApolloDiagnostic>; fn validate_schema_definition(&self) -> Vec<ApolloDiagnostic>; fn validate_scalar_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_enum_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_union_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_interface_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_directive_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_input_object_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_object_type_definitions(&self) -> Vec<ApolloDiagnostic>; fn validate_executable(&self, key0: FileId) -> Vec<ApolloDiagnostic>; fn validate_operation_definitions(
        &self,
        key0: FileId
    ) -> Vec<ApolloDiagnostic>; fn validate_unused_variable(&self, key0: FileId) -> Vec<ApolloDiagnostic>; fn check_directive_definition(
        &self,
        key0: Arc<DirectiveDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_object_type_definition(
        &self,
        key0: Arc<ObjectTypeDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_interface_type_definition(
        &self,
        key0: Arc<InterfaceTypeDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_scalar_type_definition(
        &self,
        key0: Arc<ScalarTypeDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_union_type_definition(
        &self,
        key0: Arc<UnionTypeDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_enum_type_definition(
        &self,
        key0: Arc<EnumTypeDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_input_object_type_definition(
        &self,
        key0: Arc<InputObjectTypeDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_schema_definition(
        &self,
        key0: Arc<SchemaDefinition>
    ) -> Vec<ApolloDiagnostic>; fn check_selection_set(&self, key0: SelectionSet) -> Vec<ApolloDiagnostic>; fn check_arguments_definition(
        &self,
        key0: ArgumentsDefinition
    ) -> Vec<ApolloDiagnostic>; fn check_field_definition(
        &self,
        key0: FieldDefinition
    ) -> Vec<ApolloDiagnostic>; fn check_input_values(
        &self,
        key0: Arc<Vec<InputValueDefinition>>
    ) -> Vec<ApolloDiagnostic>; fn check_db_definitions(&self) -> Vec<ApolloDiagnostic>; fn check_directive(&self, key0: Directive) -> Vec<ApolloDiagnostic>; fn check_arguments(&self, key0: Vec<Argument>) -> Vec<ApolloDiagnostic>; fn check_field(&self, key0: Arc<Field>) -> Vec<ApolloDiagnostic>;
}

Required Methods§

Validate all documents.

Validate the schema, combined of all schema documents known to the compiler.

Validate an executable document.

Implementors§