-
Notifications
You must be signed in to change notification settings - Fork 11.6k
[GraphQL][MVR] Move to new naming standard #19376
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
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.
Main comment is regarding how the parsing for VersionedName
is done -- rest is nits. I'm also a little bit on the fence about using :v
as the delimiter for versions, seeing it in practice, especially in the context of types, LMKWYT.
crates/sui-graphql-rpc/src/types/move_registry/named_move_package.rs
Outdated
Show resolved
Hide resolved
d72f0b8
to
b72aac1
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.
Thanks for the quick turnaround @manolisliolios ! Given our offline chat, I'm still leaning towards /1
vs :v1
for the version identifiers, but will leave the final decision with you!
e3c679f
to
d4947ab
Compare
## Description Move things left and right (gets rid of the `dot_move` naming), and update our parsing logic to use our new naming standard. The naming standard used is `{ns_name}/{app_name}/{version}` with `/{version}` being optional. ## Test plan Tweaked the existing e2e & unit tests to work with the new naming standard, and resolution works as expected on the e2e ones. --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
Move things left and right (gets rid of the `dot_move` naming), and update our parsing logic to use our new naming standard. The naming standard used is `{ns_name}/{app_name}/{version}` with `/{version}` being optional. Tweaked the existing e2e & unit tests to work with the new naming standard, and resolution works as expected on the e2e ones. --- Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
Move things left and right (gets rid of the `dot_move` naming), and update our parsing logic to use our new naming standard. The naming standard used is `{ns_name}/{app_name}/{version}` with `/{version}` being optional. Tweaked the existing e2e & unit tests to work with the new naming standard, and resolution works as expected on the e2e ones. --- Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
Description
Move things left and right (gets rid of the
dot_move
naming), and update our parsing logic to use our new naming standard.The naming standard used is
{ns_name}/{app_name}/{version}
with/{version}
being optional.Test plan
Tweaked the existing e2e & unit tests to work with the new naming standard, and resolution works as expected on the e2e ones.
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.