Skip to content

Commit

Permalink
[chore][GraphQL] Declutter schemas (#18288)
Browse files Browse the repository at this point in the history
## Description

Remove `draft_target_schema.graphql` and promote
`current_progress_schema.graphql` to be the canonical schema for the
service -- move it to the top-level of the `sui-graphql-rpc` crate to
make it easier to find. This is to avoid confusion about source of truth
for the GraphQL schema.

Because the TS SDK references the schema at multiple GraphQL versions,
we will need to cherry-pick this change to release branches when it
lands.

## Test plan

CI

## Stack

- #17543
- #17692 
- #17693 
- #17696 
- #18287 

---

## 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: 
- [x] GraphQL: The schema file has been moved from
`crates/sui-graphql-rpc/schemas/current_progress_schema.graphql` to
`crates/sui-graphql-rpc/schema.graphql`.
- [ ] CLI: 
- [ ] Rust SDK:
  • Loading branch information
amnn committed Aug 19, 2024
1 parent 20c1269 commit 6538bcd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1,594 deletions.
File renamed without changes.
Loading

0 comments on commit 6538bcd

Please sign in to comment.