Skip to content

[*] Bug Fix: devInvariant should warn in prod even if not in codes.json#7870

Merged
etrepum merged 1 commit intofacebook:mainfrom
etrepum:prodNoCode-warnings
Sep 25, 2025
Merged

[*] Bug Fix: devInvariant should warn in prod even if not in codes.json#7870
etrepum merged 1 commit intofacebook:mainfrom
etrepum:prodNoCode-warnings

Conversation

@etrepum
Copy link
Copy Markdown
Collaborator

@etrepum etrepum commented Sep 25, 2025

Description

devInvariant would throw in prod when the error was not yet in codes.json, now it warns

Closes #7869

Test plan

Unit test added for the transform update

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 25, 2025

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

Project Deployment Preview Comments Updated (UTC)
lexical Ready Ready Preview Comment Sep 25, 2025 3:40pm
lexical-playground Ready Ready Preview Comment Sep 25, 2025 3:40pm

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 25, 2025
@etrepum etrepum added this pull request to the merge queue Sep 25, 2025
Merged via the queue into facebook:main with commit 67edb4f Sep 25, 2025
40 checks passed
@etrepum etrepum mentioned this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Ensure devInvariant is a warning in prod even if not in codes.json yet

2 participants