Skip to content

Commit 7c91e3a

Browse files
committed
Update URLs in parser error messages
1 parent 78a8b80 commit 7c91e3a

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed

src/SyntaxTree.cpp

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -578,164 +578,164 @@ const std::string ast_control<block_quote_token>::error_message = "Expected \"\"
578578

579579
template <>
580580
const std::string ast_control<variable_name_content>::error_message =
581-
"Expected http://spec.graphql.org/June2018/#Variable";
581+
"Expected https://spec.graphql.org/October2021/#Variable";
582582
template <>
583583
const std::string ast_control<escaped_unicode_content>::error_message =
584-
"Expected http://spec.graphql.org/June2018/#EscapedUnicode";
584+
"Expected https://spec.graphql.org/October2021/#EscapedUnicode";
585585
template <>
586586
const std::string ast_control<string_escape_sequence_content>::error_message =
587-
"Expected http://spec.graphql.org/June2018/#EscapedCharacter";
587+
"Expected https://spec.graphql.org/October2021/#EscapedCharacter";
588588
template <>
589589
const std::string ast_control<string_quote_content>::error_message =
590-
"Expected http://spec.graphql.org/June2018/#StringCharacter";
590+
"Expected https://spec.graphql.org/October2021/#StringCharacter";
591591
template <>
592592
const std::string ast_control<block_quote_content>::error_message =
593-
"Expected http://spec.graphql.org/June2018/#BlockStringCharacter";
593+
"Expected https://spec.graphql.org/October2021/#BlockStringCharacter";
594594
template <>
595595
const std::string ast_control<fractional_part_content>::error_message =
596-
"Expected http://spec.graphql.org/June2018/#FractionalPart";
596+
"Expected https://spec.graphql.org/October2021/#FractionalPart";
597597
template <>
598598
const std::string ast_control<exponent_part_content>::error_message =
599-
"Expected http://spec.graphql.org/June2018/#ExponentPart";
599+
"Expected https://spec.graphql.org/October2021/#ExponentPart";
600600
template <>
601601
const std::string ast_control<argument_content>::error_message =
602-
"Expected http://spec.graphql.org/June2018/#Argument";
602+
"Expected https://spec.graphql.org/October2021/#Argument";
603603
template <>
604604
const std::string ast_control<arguments_content>::error_message =
605-
"Expected http://spec.graphql.org/June2018/#Arguments";
605+
"Expected https://spec.graphql.org/October2021/#Arguments";
606606
template <>
607607
const std::string ast_control<list_value_content>::error_message =
608-
"Expected http://spec.graphql.org/June2018/#ListValue";
608+
"Expected https://spec.graphql.org/October2021/#ListValue";
609609
template <>
610610
const std::string ast_control<object_field_content>::error_message =
611-
"Expected http://spec.graphql.org/June2018/#ObjectField";
611+
"Expected https://spec.graphql.org/October2021/#ObjectField";
612612
template <>
613613
const std::string ast_control<object_value_content>::error_message =
614-
"Expected http://spec.graphql.org/June2018/#ObjectValue";
614+
"Expected https://spec.graphql.org/October2021/#ObjectValue";
615615
template <>
616616
const std::string ast_control<input_value_content>::error_message =
617-
"Expected http://spec.graphql.org/June2018/#Value";
617+
"Expected https://spec.graphql.org/October2021/#Value";
618618
template <>
619619
const std::string ast_control<default_value_content>::error_message =
620-
"Expected http://spec.graphql.org/June2018/#DefaultValue";
620+
"Expected https://spec.graphql.org/October2021/#DefaultValue";
621621
template <>
622622
const std::string ast_control<list_type_content>::error_message =
623-
"Expected http://spec.graphql.org/June2018/#ListType";
623+
"Expected https://spec.graphql.org/October2021/#ListType";
624624
template <>
625625
const std::string ast_control<type_name_content>::error_message =
626-
"Expected http://spec.graphql.org/June2018/#Type";
626+
"Expected https://spec.graphql.org/October2021/#Type";
627627
template <>
628628
const std::string ast_control<variable_content>::error_message =
629-
"Expected http://spec.graphql.org/June2018/#VariableDefinition";
629+
"Expected https://spec.graphql.org/October2021/#VariableDefinition";
630630
template <>
631631
const std::string ast_control<variable_definitions_content>::error_message =
632-
"Expected http://spec.graphql.org/June2018/#VariableDefinitions";
632+
"Expected https://spec.graphql.org/October2021/#VariableDefinitions";
633633
template <>
634634
const std::string ast_control<directive_content>::error_message =
635-
"Expected http://spec.graphql.org/June2018/#Directive";
635+
"Expected https://spec.graphql.org/October2021/#Directive";
636636
template <>
637637
const std::string ast_control<field_content>::error_message =
638-
"Expected http://spec.graphql.org/June2018/#Field";
638+
"Expected https://spec.graphql.org/October2021/#Field";
639639
template <>
640640
const std::string ast_control<type_condition_content>::error_message =
641-
"Expected http://spec.graphql.org/June2018/#TypeCondition";
641+
"Expected https://spec.graphql.org/October2021/#TypeCondition";
642642
template <>
643643
const std::string ast_control<fragement_spread_or_inline_fragment_content>::error_message =
644-
"Expected http://spec.graphql.org/June2018/#FragmentSpread or "
645-
"http://spec.graphql.org/June2018/#InlineFragment";
644+
"Expected https://spec.graphql.org/October2021/#FragmentSpread or "
645+
"https://spec.graphql.org/October2021/#InlineFragment";
646646
template <>
647647
const std::string ast_control<selection_set_content>::error_message =
648-
"Expected http://spec.graphql.org/June2018/#SelectionSet";
648+
"Expected https://spec.graphql.org/October2021/#SelectionSet";
649649
template <>
650650
const std::string ast_control<operation_definition_operation_type_content>::error_message =
651-
"Expected http://spec.graphql.org/June2018/#OperationDefinition";
651+
"Expected https://spec.graphql.org/October2021/#OperationDefinition";
652652
template <>
653653
const std::string ast_control<fragment_definition_content>::error_message =
654-
"Expected http://spec.graphql.org/June2018/#FragmentDefinition";
654+
"Expected https://spec.graphql.org/October2021/#FragmentDefinition";
655655
template <>
656656
const std::string ast_control<root_operation_definition_content>::error_message =
657-
"Expected http://spec.graphql.org/June2018/#RootOperationTypeDefinition";
657+
"Expected https://spec.graphql.org/October2021/#RootOperationTypeDefinition";
658658
template <>
659659
const std::string ast_control<schema_definition_content>::error_message =
660-
"Expected http://spec.graphql.org/June2018/#SchemaDefinition";
660+
"Expected https://spec.graphql.org/October2021/#SchemaDefinition";
661661
template <>
662662
const std::string ast_control<scalar_type_definition_content>::error_message =
663-
"Expected http://spec.graphql.org/June2018/#ScalarTypeDefinition";
663+
"Expected https://spec.graphql.org/October2021/#ScalarTypeDefinition";
664664
template <>
665665
const std::string ast_control<arguments_definition_content>::error_message =
666-
"Expected http://spec.graphql.org/June2018/#ArgumentsDefinition";
666+
"Expected https://spec.graphql.org/October2021/#ArgumentsDefinition";
667667
template <>
668668
const std::string ast_control<field_definition_content>::error_message =
669-
"Expected http://spec.graphql.org/June2018/#FieldDefinition";
669+
"Expected https://spec.graphql.org/October2021/#FieldDefinition";
670670
template <>
671671
const std::string ast_control<fields_definition_content>::error_message =
672-
"Expected http://spec.graphql.org/June2018/#FieldsDefinition";
672+
"Expected https://spec.graphql.org/October2021/#FieldsDefinition";
673673
template <>
674674
const std::string ast_control<implements_interfaces_content>::error_message =
675-
"Expected http://spec.graphql.org/June2018/#ImplementsInterfaces";
675+
"Expected https://spec.graphql.org/October2021/#ImplementsInterfaces";
676676
template <>
677677
const std::string ast_control<object_type_definition_content>::error_message =
678-
"Expected http://spec.graphql.org/June2018/#ObjectTypeDefinition";
678+
"Expected https://spec.graphql.org/October2021/#ObjectTypeDefinition";
679679
template <>
680680
const std::string ast_control<interface_type_definition_content>::error_message =
681-
"Expected http://spec.graphql.org/June2018/#InterfaceTypeDefinition";
681+
"Expected https://spec.graphql.org/October2021/#InterfaceTypeDefinition";
682682
template <>
683683
const std::string ast_control<union_member_types_content>::error_message =
684-
"Expected http://spec.graphql.org/June2018/#UnionMemberTypes";
684+
"Expected https://spec.graphql.org/October2021/#UnionMemberTypes";
685685
template <>
686686
const std::string ast_control<union_type_definition_content>::error_message =
687-
"Expected http://spec.graphql.org/June2018/#UnionTypeDefinition";
687+
"Expected https://spec.graphql.org/October2021/#UnionTypeDefinition";
688688
template <>
689689
const std::string ast_control<enum_value_definition_content>::error_message =
690-
"Expected http://spec.graphql.org/June2018/#EnumValueDefinition";
690+
"Expected https://spec.graphql.org/October2021/#EnumValueDefinition";
691691
template <>
692692
const std::string ast_control<enum_values_definition_content>::error_message =
693-
"Expected http://spec.graphql.org/June2018/#EnumValuesDefinition";
693+
"Expected https://spec.graphql.org/October2021/#EnumValuesDefinition";
694694
template <>
695695
const std::string ast_control<enum_type_definition_content>::error_message =
696-
"Expected http://spec.graphql.org/June2018/#EnumTypeDefinition";
696+
"Expected https://spec.graphql.org/October2021/#EnumTypeDefinition";
697697
template <>
698698
const std::string ast_control<input_field_definition_content>::error_message =
699-
"Expected http://spec.graphql.org/June2018/#InputValueDefinition";
699+
"Expected https://spec.graphql.org/October2021/#InputValueDefinition";
700700
template <>
701701
const std::string ast_control<input_fields_definition_content>::error_message =
702-
"Expected http://spec.graphql.org/June2018/#InputFieldsDefinition";
702+
"Expected https://spec.graphql.org/October2021/#InputFieldsDefinition";
703703
template <>
704704
const std::string ast_control<input_object_type_definition_content>::error_message =
705-
"Expected http://spec.graphql.org/June2018/#InputObjectTypeDefinition";
705+
"Expected https://spec.graphql.org/October2021/#InputObjectTypeDefinition";
706706
template <>
707707
const std::string ast_control<directive_definition_content>::error_message =
708-
"Expected http://spec.graphql.org/June2018/#DirectiveDefinition";
708+
"Expected https://spec.graphql.org/October2021/#DirectiveDefinition";
709709
template <>
710710
const std::string ast_control<schema_extension_content>::error_message =
711-
"Expected http://spec.graphql.org/June2018/#SchemaExtension";
711+
"Expected https://spec.graphql.org/October2021/#SchemaExtension";
712712
template <>
713713
const std::string ast_control<scalar_type_extension_content>::error_message =
714-
"Expected http://spec.graphql.org/June2018/#ScalarTypeExtension";
714+
"Expected https://spec.graphql.org/October2021/#ScalarTypeExtension";
715715
template <>
716716
const std::string ast_control<object_type_extension_content>::error_message =
717-
"Expected http://spec.graphql.org/June2018/#ObjectTypeExtension";
717+
"Expected https://spec.graphql.org/October2021/#ObjectTypeExtension";
718718
template <>
719719
const std::string ast_control<interface_type_extension_content>::error_message =
720-
"Expected http://spec.graphql.org/June2018/#InterfaceTypeExtension";
720+
"Expected https://spec.graphql.org/October2021/#InterfaceTypeExtension";
721721
template <>
722722
const std::string ast_control<union_type_extension_content>::error_message =
723-
"Expected http://spec.graphql.org/June2018/#UnionTypeExtension";
723+
"Expected https://spec.graphql.org/October2021/#UnionTypeExtension";
724724
template <>
725725
const std::string ast_control<enum_type_extension_content>::error_message =
726-
"Expected http://spec.graphql.org/June2018/#EnumTypeExtension";
726+
"Expected https://spec.graphql.org/October2021/#EnumTypeExtension";
727727
template <>
728728
const std::string ast_control<input_object_type_extension_content>::error_message =
729-
"Expected http://spec.graphql.org/June2018/#InputObjectTypeExtension";
729+
"Expected https://spec.graphql.org/October2021/#InputObjectTypeExtension";
730730
template <>
731731
const std::string ast_control<mixed_document_content>::error_message =
732-
"Expected http://spec.graphql.org/June2018/#Document";
732+
"Expected https://spec.graphql.org/October2021/#Document";
733733
template <>
734734
const std::string ast_control<executable_document_content>::error_message =
735-
"Expected executable http://spec.graphql.org/June2018/#Document";
735+
"Expected executable https://spec.graphql.org/October2021/#Document";
736736
template <>
737737
const std::string ast_control<schema_document_content>::error_message =
738-
"Expected schema type http://spec.graphql.org/June2018/#Document";
738+
"Expected schema type https://spec.graphql.org/October2021/#Document";
739739

740740
ast parseSchemaString(std::string_view input)
741741
{

0 commit comments

Comments
 (0)