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

[graphql/rpc] crate re-org 1/x: split off client crate #15571

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

oxade
Copy link
Contributor

@oxade oxade commented Jan 5, 2024

Description

Split off the client crate so importing it is lighter.
Other useful components will be split off too in subseq PRs.

Test Plan

Existing


If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

Copy link

vercel bot commented Jan 5, 2024

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

Name Status Preview Comments Updated (UTC)
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 5, 2024 7:12am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 5, 2024 7:12am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Jan 5, 2024 7:12am
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jan 5, 2024 7:12am
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Jan 5, 2024 7:12am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jan 5, 2024 7:12am

Copy link
Contributor

@wlmyng wlmyng left a comment

Choose a reason for hiding this comment

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

nice

sui-graphql-rpc-headers.workspace = true
sui-graphql-rpc-client.workspace = true


Copy link
Contributor

Choose a reason for hiding this comment

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

nit extra space

@oxade oxade merged commit 6b31612 into main Jan 5, 2024
65 checks passed
@oxade oxade deleted the graphql-impl-split-up-components branch January 5, 2024 22:26
@@ -1,7 +1,7 @@
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

pub mod client;
pub use sui_graphql_rpc_client as client;
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need this? It seems counter-intuitive to export the client from the server if we're splitting it out into its own crate.

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.

3 participants