Commit 4157755
authored
fix: Revert faker pointer change (#2093)
#### Summary
Reverts https://github.com/cloudquery/plugin-sdk/pull/2087/files#diff-d23bd4e64abe4e710bc1f39711bda2ddc0d4a9a5c1ee80e7551787a0f81e2d5aL20 as it broke some plugins tests.
Underlying issue is that we call `getFakedValue` on the array of fields in https://github.com/cloudquery/plugin-sdk/blob/1298b36185f8d19e0a0c65f6f3958106565271c9/faker/faker.go#L65 so when operating on the pointer we share the max depth with the fields.
Reverting for now so it doesn't block the SDK update
---1 parent 1298b36 commit 4157755
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments