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] split out graphiql server #15064

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

oxade
Copy link
Contributor

@oxade oxade commented Nov 28, 2023

Description

As mentioned in this comment:
this is the first part of modularizing the server.
The GraphiQL server with the IDE is decoupled from the core server
Subseq PR will improve the initializers to make setting IDE title driven by caller at builder time.

The changes here should be opaque to users. No need for release notes.

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 Nov 28, 2023

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 Nov 29, 2023 7:09pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 29, 2023 7:09pm
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Nov 29, 2023 7:09pm
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Nov 29, 2023 7:09pm
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Nov 29, 2023 7:09pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Nov 29, 2023 7:09pm

crates/sui-graphql-rpc/src/server/graphiql_server.rs Outdated Show resolved Hide resolved
crates/sui-graphql-rpc/src/server/graphiql_server.rs Outdated Show resolved Hide resolved
@oxade oxade merged commit ceb9f99 into main Nov 29, 2023
33 checks passed
@oxade oxade deleted the graphql-impl-separate-graphiql-server branch November 29, 2023 19:29
oxade added a commit that referenced this pull request Nov 30, 2023
## Description 

Follow up of todo items from
[PR](#15064)
The core builder logic is now fully separated from graphiql by removing
the title setting logic and exposing the server builder layer logic.

## Test Plan 

Manual

---
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
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