Commit 06bbb4b
authored
Consider oneOf enum in array testers
Whenever we encounter an array we run a heuristic which determines whether the
'items' are shallow objects/values or some more complex objects. This is typically used
to determine whether a compact table renderer or more complex element renderer
shall be used.
This heuristic is extended to consider 'oneOf's which model an enum to be suitable for
table renderers.1 parent 5bcb632 commit 06bbb4b
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
470 | 473 | | |
471 | 474 | | |
472 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
828 | 839 | | |
829 | 840 | | |
830 | 841 | | |
| |||
877 | 888 | | |
878 | 889 | | |
879 | 890 | | |
| 891 | + | |
| 892 | + | |
880 | 893 | | |
881 | 894 | | |
882 | 895 | | |
| |||
0 commit comments