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

Revert upgrade of getkin/kin-openapi to v0.122.0 #828

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

marefr
Copy link
Member

@marefr marefr commented Dec 4, 2023

Too many issues with grafana/grafana#79021 and grafana/thema so reverting this for now.

@marefr marefr self-assigned this Dec 4, 2023
@marefr marefr requested a review from a team as a code owner December 4, 2023 15:46
@marefr marefr requested review from wbrowne, andresmgot and oshirohugo and removed request for a team December 4, 2023 15:46
@marefr marefr merged commit fdcf6a0 into main Dec 4, 2023
3 checks passed
@marefr marefr deleted the openkin_deps branch December 4, 2023 15:50
Comment on lines +5 to +6
// The v0.120.0 is needed for now to be compatible with grafana/thema.
replace github.com/getkin/kin-openapi => github.com/getkin/kin-openapi v0.120.0
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not a fan of this replaces. I know it ensures that the specific version is used but it has happened to me that I have updated a dependency without realizing that there was a replace somewhere in the go.mod file. Isn't just enough to put this comment in the related require line?

Copy link
Member Author

Choose a reason for hiding this comment

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

No strong opinions really, but in grafana we normally use replace with comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants