Skip to content

Commit a038535

Browse files
committed
Merge branch 'enable-bugprone-clang-tidy-checks' into enable-bugprone-easily-swappable-parameters
2 parents 2507e17 + c0b4e0a commit a038535

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/jsonschema/official_resolver.in.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ auto sourcemeta::core::schema_official_resolver(std::string_view identifier)
1010
R"EOF(@METASCHEMA_JSONSCHEMA_2020_12@)EOF");
1111
} else if (identifier ==
1212
"https://json-schema.org/draft/2020-12/hyper-schema" ||
13+
// Just for compatibility given that this is such a common issue
1314
identifier ==
1415
"https://json-schema.org/draft/2020-12/hyper-schema#") {
1516
return sourcemeta::core::parse_json(
@@ -64,6 +65,7 @@ auto sourcemeta::core::schema_official_resolver(std::string_view identifier)
6465
R"EOF(@METASCHEMA_JSONSCHEMA_2019_09@)EOF");
6566
} else if (identifier ==
6667
"https://json-schema.org/draft/2019-09/hyper-schema" ||
68+
// Just for compatibility given that this is such a common issue
6769
identifier ==
6870
"https://json-schema.org/draft/2019-09/hyper-schema#") {
6971
return sourcemeta::core::parse_json(

0 commit comments

Comments
 (0)