Commit 18a68b1
committed
Fix BDD test lookup to handle oneOf wrappers for array indexing
When a oneOf schema wraps an array type, the World.lookup method
needs to unwrap the getActualInstance() before casting to List.
This fixes ClassCastException when BDD steps navigate paths like
group_by[0].facet where group_by is now a oneOf wrapper.
This matches the spec change in datadog-api-spec PR #5141.1 parent 97093fc commit 18a68b1
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
685 | 695 | | |
686 | 696 | | |
687 | 697 | | |
| |||
0 commit comments