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] limit num fragment defs #14465

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

oxade
Copy link
Contributor

@oxade oxade commented Oct 26, 2023

Description

Bound the number of fragment definitions

Test Plan

Manual, coming up

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

@vercel
Copy link

vercel bot commented Oct 26, 2023

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

Name Status Preview Updated (UTC)
mysten-ui ✅ Ready (Inspect) Visit Preview Oct 26, 2023 10:52pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview Oct 26, 2023 10:52pm
3 Ignored Deployments
Name Status Preview Updated (UTC)
explorer ⬜️ Ignored (Inspect) Oct 26, 2023 10:52pm
multisig-toolkit ⬜️ Ignored (Inspect) Oct 26, 2023 10:52pm
sui-kiosk ⬜️ Ignored (Inspect) Oct 26, 2023 10:52pm

@oxade oxade enabled auto-merge (squash) October 26, 2023 22:54
@oxade oxade merged commit 4b7bed6 into main Oct 26, 2023
32 checks passed
@oxade oxade deleted the graphql-impl-limit-fragment-def-count branch October 26, 2023 23:08
@amnn
Copy link
Member

amnn commented Oct 27, 2023

Similar question here as in the PR that introduced a variable limit -- why are we limiting the number of fragment definitions?

@oxade
Copy link
Contributor Author

oxade commented Oct 27, 2023

Similar question here as in the PR that introduced a variable limit -- why are we limiting the number of fragment definitions?

Similar response, plus fragment defs technically count as nodes we have to analyze.

jonas-lj pushed a commit to jonas-lj/sui that referenced this pull request Nov 2, 2023
## Description 

Bound the number of fragment definitions

## Test Plan 

Manual, coming up
---
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.

3 participants