Skip to content

fix: Use map[string]interface{} for AppUser.Profile and ApplicationGroupAssignment.Profile#448

Closed
erezrokah wants to merge 1 commit into
okta:4.0.0from
cloudquery:fix/profile_type
Closed

fix: Use map[string]interface{} for AppUser.Profile and ApplicationGroupAssignment.Profile#448
erezrokah wants to merge 1 commit into
okta:4.0.0from
cloudquery:fix/profile_type

Conversation

@erezrokah
Copy link
Copy Markdown
Contributor

@erezrokah erezrokah commented Apr 5, 2024

Summary

Fixes ##447

So what I did is remove the extra empty additionalProperties from the specs and re-ran make v4-generate. Not sure if there's a better way to do it.

The same problem exists in other fields as well (for example ApplicationGroupAssignment.Embedded) so it might be necessary do go over all additionalProperties in the specs and do the same, but wanted to get some feedback on the fix first

Type of PR

  • Bug Fix (non-breaking fixes to existing functionality)
  • New Feature (non-breaking changes that add new functionality)
  • Documentation update
  • Test Updates
  • Other (Please describe the type)

Test Information

  • My PR required test updates

Go Version: go version go1.22.1 darwin/arm64
Os Version:
OpenAPI Spec Version: 23.4.0 Darwin Kernel Version 23.4.0

Signoff

  • I have submitted a CLA for this PR
  • Each commit message explains what the commit does
  • I have updated documentation to explain what my PR does
  • My code is covered by tests if required
  • I ran make fmt on my code
  • I did not edit any automatically generated files

kodiakhq Bot pushed a commit to cloudquery/cloudquery that referenced this pull request Apr 5, 2024
#### Summary

Fixes #17348 by switching to a version of the SDK with the fix from okta/okta-sdk-golang#448 as it seems v4 of the SDK broke some things.

Once the PR is merged (and possible additional fixes are done) we can revert back to the official version
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2024

This PR has been marked stale because there has been no activity within the last 28 days. To keep this PR active, remove the stale label.

@github-actions github-actions Bot added the stale label May 4, 2024
@erezrokah
Copy link
Copy Markdown
Contributor Author

Not stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants