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

fix: key by subpackageId + endpointId in API Playground #931

Merged
merged 4 commits into from
May 28, 2024

Conversation

abvthecity
Copy link
Contributor

Fixes INC-35

Before:
key by endpoint.slug.join("/")

After:
key by subpackageId + endpoint.id

  • fatal sentry error is captured if api playground match on an endpoint

Why:
endpoint.slug.join("/") is not unique (first version always has two slugs)


Follows up needed:

  • refactor state management in api playground

@abvthecity abvthecity requested a review from dsinghvi as a code owner May 28, 2024 13:47
Copy link

vercel bot commented May 28, 2024

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

Name Status Preview Updated (UTC)
fern-dev ✅ Ready (Inspect) Visit Preview May 28, 2024 2:01pm
3 Ignored Deployments
Name Status Preview Updated (UTC)
fern-prod ⬜️ Ignored (Inspect) May 28, 2024 2:01pm
fontawesome-cdn ⬜️ Ignored (Inspect) May 28, 2024 2:01pm
private-docs ⬜️ Ignored (Inspect) May 28, 2024 2:01pm

@abvthecity abvthecity merged commit c53d2a4 into main May 28, 2024
17 of 18 checks passed
@abvthecity abvthecity deleted the ajiang/fix-playground-flagright branch May 28, 2024 14:01
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