Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correct Fabricv4 API Spec via patching to use valid any type #42

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

thogarty
Copy link
Contributor

@thogarty thogarty commented Mar 5, 2024

  • Remove type: object from API Spec where intent is to have any type be acceptable from the API handler for that property
  • Apply update via patching to Fabricv4 API Spec
  • Go package github.com/stretchr/testify being upgraded from version 1.8.4 to 1.9.0

@thogarty thogarty requested a review from a team as a code owner March 5, 2024 23:32
@displague
Copy link
Member

displague commented Mar 6, 2024

For review purposes, it is helpful to keep the manual updates and generated updates in separate commits.

We haven't worried about having consistency (patches match the artifacts) at the git-sha level, only at the release level.

@displague
Copy link
Member

Remove type: object from API Spec where intent is to have any type be acceptable from the API handler for that property

What's an example of why this is a better choice?

Copy link
Member

@displague displague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I left some nitpicks on the format of the PR but the code changes seem fine.

Updating testify could have been left to #39

@displague
Copy link
Member

What's an example of why this is a better choice?

I missed the conversation leading to this choice:
equinix/terraform-provider-equinix#606 (comment)

@ctreatma ctreatma changed the title refactor: Correct Fabricv4 API Spec via patching to use valid any type fix: Correct Fabricv4 API Spec via patching to use valid any type Mar 6, 2024
@ctreatma ctreatma merged commit c243f46 into main Mar 6, 2024
6 checks passed
@ctreatma ctreatma deleted the CXF-86458-fabric-equinix-sdk-go-migration branch March 6, 2024 16:16
Copy link
Contributor

github-actions bot commented Mar 6, 2024

This PR is included in version 0.34.1 🎉

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.

3 participants