-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
refactor: removal of the manyminds/api2go, part 2 #2313
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When do we expect to merge this? Will it be merged after the v0.36.0
release?
@codebien, to be honest, I don't have a sure answer, probably yes, since even the first PR in a row is under the changes. But, why? |
We already added the deprecate warning in the first PR and this PR is removing it, so I didn't get why if we would merge it in the same release. |
We can merge it in the same release, but only once we're sure that no other components are using the |
I don't see the value to merge the part 1 without this part. I think we should just have a unique PR and maintain it blocked until all the calls to the |
The main thing why it splited into two parts is because it's a breaking change. It's usually a good practice to make such changes. Once the first part is merged, the other components have time to be migrated without a rush. Once the other components are fully migrated to the new interface, PR can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I wonder if we should let there be a version with the deprecations and then removing it ... 🤔 I kind of doubt there are many users and I doubt they will even notice if it doesn't get removed so 🤷
} | ||
|
||
// GetReferences returns the slice of jsonapi.References | ||
// Deprecated: use instead g.Groups properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we decide to keep the deprecation for a version it seems to me like // Deprecated
needs to be the last comment and separated with a newline from the rest in order for it to work ... but I might be wrong.
14f2d04
to
24cb4f1
Compare
24cb4f1
to
500dbdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
42c1d84
500dbdb
to
42c1d84
Compare
42c1d84
to
d49da43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍾
The best PRs 🎉 |
What this PR does
It is a second PR related to the cleaning of
api2go/jsonapi
dependency. Once the client's usage is removed from the other projects, we can merge this.Scope
The scope of this PR is to remove the
api2go/jsonapi
from the k6.Related PRs
#2304
Closes: #911