Commit 990bae7
committed
Use an explicit default provided to validator_for in all cases.
Previously it was only used when $schema was not present, but clearly
it should be used even when it is but the URI is not recognized.
Combined with #981 this *hopefully* now handles the remaining downstream
users with subclasses.1 parent a8c3b14 commit 990bae7
File tree
3 files changed
+28
-12
lines changed- jsonschema
- tests
3 files changed
+28
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1906 | 1906 | | |
1907 | 1907 | | |
1908 | 1908 | | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
1909 | 1913 | | |
1910 | 1914 | | |
1911 | 1915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
1078 | 1080 | | |
1079 | 1081 | | |
1080 | 1082 | | |
1081 | | - | |
| 1083 | + | |
1082 | 1084 | | |
1083 | 1085 | | |
1084 | 1086 | | |
| |||
1099 | 1101 | | |
1100 | 1102 | | |
1101 | 1103 | | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1102 | 1107 | | |
1103 | | - | |
| 1108 | + | |
1104 | 1109 | | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
0 commit comments