49462cf05f
This commit moves the single anonymous and duplicated operation name validation rules into the parser, allowing for a nicer format to be exposed by it. It also adds better error messages to the parser.
44 lines
1.7 KiB
Rust
44 lines
1.7 KiB
Rust
mod arguments_of_correct_type;
|
|
mod default_values_of_correct_type;
|
|
mod fields_on_correct_type;
|
|
mod fragments_on_composite_types;
|
|
mod known_argument_names;
|
|
mod known_directives;
|
|
mod known_fragment_names;
|
|
mod known_type_names;
|
|
mod no_fragment_cycles;
|
|
mod no_undefined_variables;
|
|
mod no_unused_fragments;
|
|
mod no_unused_variables;
|
|
mod overlapping_fields_can_be_merged;
|
|
mod possible_fragment_spreads;
|
|
mod provided_non_null_arguments;
|
|
mod scalar_leafs;
|
|
mod unique_argument_names;
|
|
mod unique_variable_names;
|
|
mod upload_file;
|
|
mod variables_are_input_types;
|
|
mod variables_in_allowed_position;
|
|
|
|
pub use arguments_of_correct_type::ArgumentsOfCorrectType;
|
|
pub use default_values_of_correct_type::DefaultValuesOfCorrectType;
|
|
pub use fields_on_correct_type::FieldsOnCorrectType;
|
|
pub use fragments_on_composite_types::FragmentsOnCompositeTypes;
|
|
pub use known_argument_names::KnownArgumentNames;
|
|
pub use known_directives::KnownDirectives;
|
|
pub use known_fragment_names::KnownFragmentNames;
|
|
pub use known_type_names::KnownTypeNames;
|
|
pub use no_fragment_cycles::NoFragmentCycles;
|
|
pub use no_undefined_variables::NoUndefinedVariables;
|
|
pub use no_unused_fragments::NoUnusedFragments;
|
|
pub use no_unused_variables::NoUnusedVariables;
|
|
pub use overlapping_fields_can_be_merged::OverlappingFieldsCanBeMerged;
|
|
pub use possible_fragment_spreads::PossibleFragmentSpreads;
|
|
pub use provided_non_null_arguments::ProvidedNonNullArguments;
|
|
pub use scalar_leafs::ScalarLeafs;
|
|
pub use unique_argument_names::UniqueArgumentNames;
|
|
pub use unique_variable_names::UniqueVariableNames;
|
|
pub use upload_file::UploadFile;
|
|
pub use variables_are_input_types::VariablesAreInputTypes;
|
|
pub use variables_in_allowed_position::VariableInAllowedPosition;
|