Skip to content

Add debug for /deco/render request #903

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

igorbrasileiro
Copy link
Contributor

@igorbrasileiro igorbrasileiro commented Apr 15, 2025

How it works

Add debug param for async render when __d is present on request querystring. The output data has this shape:

interface LoaderDebugData {
  resolver: FieldResolver;
  reason: {
    cache: LoaderCache;
    cacheKeyNull: boolean;
  }
}

interface DebugData {
 debugData: LoaderDebugData[]; // In future could have more properties here with other object type
}

Copy link
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 1.115.2 update
  • 🎉 for Minor 1.116.0 update
  • 🚀 for Major 2.0.0 update

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