Skip to content

display: support fetching derived objects#25921

Open
amnn wants to merge 1 commit intomainfrom
amnn/disp-derived
Open

display: support fetching derived objects#25921
amnn wants to merge 1 commit intomainfrom
amnn/disp-derived

Conversation

@amnn
Copy link
Contributor

@amnn amnn commented Mar 20, 2026

Description

Add an ability to load a derived object against a parent ID/object, using parent~>[name] syntax.

Test plan

Unit tests:

$ cargo nextest run -p sui-display

E2E tests (GraphQL):

$ cargo nextest run -p sui-indexer-alt-e2e-tests -- tests/graphql/objects/display/derived_object.move

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):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@amnn amnn requested review from damirka and manolisliolios March 20, 2026 17:56
@amnn amnn self-assigned this Mar 20, 2026
@amnn amnn requested review from a team and jessiemongeon1 as code owners March 20, 2026 17:56
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 20, 2026 17:56 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Mar 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview, Comment Mar 20, 2026 6:31pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Mar 20, 2026 6:31pm
sui-kiosk Ignored Ignored Preview Mar 20, 2026 6:31pm

Request Review

@github-actions github-actions bot added the Type: Documentation Improvements or additions to documentation label Mar 20, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

📋 afdocs check results

URL: https://sui-docs-r60yxknhu-sui-foundation.vercel.app

Running checks on sui-docs-r60yxknhu-sui-foundation.vercel.app...

Agent-Friendly Docs Check: https://sui-docs-r60yxknhu-sui-foundation.vercel.app
Timestamp: 2026-03-20T18:32:12.430Z

llms-txt
  ✓ llms-txt-exists: llms.txt found at 1 location(s)
  ✓ llms-txt-valid: llms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)
  ⚠ llms-txt-size: llms.txt is 89,625 characters (between 50,000 and 100,000; consider splitting)
      Learn more: https://agentdocsspec.com/spec/#llms-txt-size
  ⚠ llms-txt-links-resolve: All links are external; 286/291 resolve (5 failed; may be bot-detection or rate-limiting)
      Learn more: https://agentdocsspec.com/spec/#llms-txt-links-resolve
  ○ llms-txt-links-markdown: All 291 links are external; cannot assess markdown support

markdown-availability
  ✗ markdown-url-support: No pages support .md URLs (0/1 tested)
      Learn more: https://agentdocsspec.com/spec/#markdown-url-support
  ✗ content-negotiation: Server ignores Accept: text/markdown header (0/1 pages return markdown)
      Learn more: https://agentdocsspec.com/spec/#content-negotiation

page-size
  ✓ rendering-strategy: All 1 pages contain server-rendered content
  ○ page-size-markdown: Skipped: dependency check did not pass
  ✓ page-size-html: All 1 pages convert under 50K chars (median 4K, 80% boilerplate)
  ✗ content-start-position: 1 of 1 pages have content starting past 50% (worst 100%)
      Learn more: https://agentdocsspec.com/spec/#content-start-position

content-structure
  ✓ tabbed-content-serialization: No tabbed content detected across 1 pages
  ✓ section-header-quality: No tabbed content found; header quality check not applicable
  ✓ markdown-code-fence-validity: All 0 code fences properly closed across 1 pages

url-stability
  ✓ http-status-codes: All 1 pages return proper error codes for bad URLs
  ✓ redirect-behavior: No redirects detected across 1 pages

agent-discoverability
  ✗ llms-txt-directive: No llms.txt directive found in any of 1 pages
      Learn more: https://agentdocsspec.com/spec/#llms-txt-directive

observability
  ○ llms-txt-freshness: No page URLs found in llms.txt
  ○ markdown-content-parity: Skipped: dependency check did not pass
  ✓ cache-header-hygiene: All 2 endpoints have appropriate cache headers

authentication
  ✓ auth-gate-detection: All 1 pages are publicly accessible
  ○ auth-alternative-access: All docs pages are publicly accessible; no alternative access paths needed

Summary
  11 passed, 2 warnings, 4 failed, 5 skipped (22 total)

Full spec: https://agentdocsspec.com/spec/

## Description
Add an ability to load a derived object against a parent ID/object,
using `parent~>[name]` syntax.

## Test plan

Unit tests:

```
$ cargo nextest run -p sui-display
```

E2E tests (GraphQL):

```
$ cargo nextest run -p sui-indexer-alt-e2e-tests -- tests/graphql/objects/display/derived_object.move
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant