Skip to content

Conversation

rvantonder
Copy link
Contributor

@rvantonder rvantonder commented Sep 24, 2024

Description

Stacked on #19057.

Previously when parsing the Move.toml we expect that if a dependency entry contains a resolver, then it ought to contain a packages entry, and any other entries would generate a warning:

[dependencies]
stuff = { resolver = "foo", packages = <anything>, other = <more stuff> }

As of #19057 it's more appropriate to instead require no strict validation here, such that any dependency with resolver is free to choose other entries in it's table:

[dependencies]
stuff = { resolver = "foo", <whatever-you-want> }

Test plan

Tested manually that no warning is generated for packages other than packages. Since there aren't existing tests and this change makes the requirement less strict, and no functional uses, it's unclear if we need a rigorous test here.


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:

Copy link

vercel bot commented Sep 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 24, 2024 9:06am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 9:06am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 9:06am
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 9:06am

@amnn
Copy link
Contributor

amnn commented Sep 26, 2024

(I'm guessing this is superseded by #19561?)

@rvantonder
Copy link
Contributor Author

yep! closing in favor of #19561

@rvantonder rvantonder closed this Sep 26, 2024
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.

2 participants