You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A followup to https://github.com/cloudflare/wrangler2/pull/778, this lets you send an optional `zone_name` with routes. This is particularly useful when using ssl for saas (https://developers.cloudflare.com/ssl/ssl-for-saas/).
- Expected \\"route\\" to be either a string or an object with shape {pattern: string, zone_id: string}, but got 888.
678
-
- Expected \\"routes\\" to be an array of either strings or objects with the shape {pattern: string, zone_id: string}, but these weren't valid: [666,777,{\\"pattern\\":123,\\"zone_id\\":\\"zone_id_1\\"},{\\"pattern\\":\\"route_2\\",\\"zone_id\\":123},{\\"pattern\\":\\"route_3\\"},{\\"zone_id\\":\\"zone_id_4\\"},{},{\\"pattern\\":\\"route_5\\",\\"zone_id\\":\\"zone_id_5\\",\\"some_other_key\\":123}].
682
+
- Expected \\"route\\" to be either a string, or an object with shape { pattern, zone_id | zone_name }, but got 888.
683
+
- Expected \\"routes\\" to be an array of either strings or objects with the shape { pattern, zone_id | zone_name }, but these weren't valid: [
684
+
666,
685
+
777,
686
+
{
687
+
\\"pattern\\": 123,
688
+
\\"zone_id\\": \\"zone_id_1\\"
689
+
},
690
+
{
691
+
\\"pattern\\": \\"route_2\\",
692
+
\\"zone_id\\": 123
693
+
},
694
+
{
695
+
\\"pattern\\": \\"route_2\\",
696
+
\\"zone_name\\": 123
697
+
},
698
+
{
699
+
\\"pattern\\": \\"route_3\\"
700
+
},
701
+
{
702
+
\\"zone_id\\": \\"zone_id_4\\"
703
+
},
704
+
{
705
+
\\"zone_name\\": \\"zone_name_4\\"
706
+
},
707
+
{},
708
+
{
709
+
\\"pattern\\": \\"route_5\\",
710
+
\\"zone_id\\": \\"zone_id_5\\",
711
+
\\"some_other_key\\": 123
712
+
},
713
+
{
714
+
\\"pattern\\": \\"route_5\\",
715
+
\\"zone_name\\": \\"zone_name_5\\",
716
+
\\"some_other_key\\": 123
717
+
}
718
+
].
679
719
- Expected exactly one of the following fields [\\"routes\\",\\"route\\"].
680
720
- Expected \\"workers_dev\\" to be of type boolean but got \\"BAD\\".
681
721
- Expected \\"build.command\\" to be of type string but got 1444.
- Expected \\"route\\" to be either a string or an object with shape {pattern: string, zone_id: string}, but got 888.
1820
-
- Expected \\"routes\\" to be an array of either strings or objects with the shape {pattern: string, zone_id: string}, but these weren't valid: [666,777].
1859
+
- Expected \\"route\\" to be either a string, or an object with shape { pattern, zone_id | zone_name }, but got 888.
1860
+
- Expected \\"routes\\" to be an array of either strings or objects with the shape { pattern, zone_id | zone_name }, but these weren't valid: [
1861
+
666,
1862
+
777
1863
+
].
1821
1864
- Expected exactly one of the following fields [\\"routes\\",\\"route\\"].
1822
1865
- Expected \\"workers_dev\\" to be of type boolean but got \\"BAD\\".
1823
1866
- Expected \\"build.command\\" to be of type string but got 1444.
`Expected "${field}" to be an array of either strings or objects with the shape {pattern: string, zone_id: string}, but these weren't valid: ${JSON.stringify(
518
-
invalidRoutes
520
+
`Expected "${field}" to be an array of either strings or objects with the shape { pattern, zone_id | zone_name }, but these weren't valid: ${JSON.stringify(
0 commit comments