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

contrib/99designs/gqlgen: avoid adding the example dependencies into our go.mod #1499

Merged
merged 4 commits into from
Oct 11, 2022

Conversation

Julio-Guerra
Copy link
Contributor

@Julio-Guerra Julio-Guerra commented Oct 6, 2022

The gqlgen example was leading to github.com/BurntSushi/toml being upgraded
to v1 and forcing our dd-trace-go users to do so, leading to breaking changes.

Such code examples shouldn't introduce breaking changes to dd-trace-go's go.mod
file.So the example was moved into the package godoc to avoid adding its dependencies
into dd-trace-go's go.mod file

@Julio-Guerra Julio-Guerra added this to the 1.43.0 milestone Oct 6, 2022
@Julio-Guerra Julio-Guerra requested a review from a team as a code owner October 6, 2022 12:25
knusbaum
knusbaum previously approved these changes Oct 6, 2022
Copy link
Contributor

@knusbaum knusbaum left a comment

Choose a reason for hiding this comment

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

LGTM.

vN -> vN+1 should usually be obvious and inconsequential because of the module path change, but not in the case of v0 -> v1

….mod

The gqlgen example was leading to github.com/BurntSushi/toml being upgraded
to v1 and forcing our dd-trace-go users to do so, leading to breaking changes.

Such code examples shouldn't introduce breaking changes to dd-trace-go's go.mod
file.So the example was moved into the package godoc to avoid adding its dependencies
into dd-trace-go's go.mod file
@Julio-Guerra Julio-Guerra requested review from a team and knusbaum October 7, 2022 09:07
@Julio-Guerra Julio-Guerra changed the title go.mod: revert github.com/BurntSushi/toml to v0.3.1 contrib/99designs/gqlgen: avoid adding the example dependencies into our go.mod Oct 7, 2022
@Julio-Guerra Julio-Guerra modified the milestones: 1.43.0, v1.44.0 Oct 10, 2022
@Julio-Guerra
Copy link
Contributor Author

This got merged into release-v1.43.x already to avoid the issue

@Julio-Guerra Julio-Guerra merged commit 23b99f4 into main Oct 11, 2022
@Julio-Guerra Julio-Guerra deleted the julio.guerra/downgrade-gqlgen branch October 11, 2022 21:18
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.

None yet

3 participants