Skip to content

fix: Revert faker pointer change#2093

Merged
kodiakhq[bot] merged 1 commit intomainfrom
fix/revert_faker_change
Mar 7, 2025
Merged

fix: Revert faker pointer change#2093
kodiakhq[bot] merged 1 commit intomainfrom
fix/revert_faker_change

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented Mar 7, 2025

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

val, err := f.getFakedValue(v.Field(i).Interface())
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


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@erezrokah erezrokah requested review from a team, jon-s58 and murarustefaan March 7, 2025 12:02
@github-actions github-actions bot added fix and removed fix labels Mar 7, 2025
@kodiakhq kodiakhq bot merged commit 4157755 into main Mar 7, 2025
11 checks passed
@kodiakhq kodiakhq bot deleted the fix/revert_faker_change branch March 7, 2025 12:08
kodiakhq bot pushed a commit that referenced this pull request Mar 7, 2025
🤖 I have created a release *beep* *boop*
---


## [4.74.1](v4.74.0...v4.74.1) (2025-03-07)


### Bug Fixes

* Revert faker pointer change ([#2093](#2093)) ([4157755](4157755))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants