You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
active.database_subtype is now accessed directly; ensure active always includes this field to avoid undefined checks failing or runtime errors in environments where context may not yet be populated.
database_subtype moved out of metadata into a top-level field; verify all consumers are updated to stop reading metadata.database_subtype and handle the optional nature of the new field.
Guard against active.database_subtype being undefined to prevent runtime errors and unintended branch execution. Provide a safe default or short-circuit to avoid calling exportDB when the subtype is unknown.
Why: The guard against an undefined active.database_subtype is reasonable given it became optional in context and prevents unintended exportDB calls; however, it's a minor defensive fix and may alter behavior if previously relying on falsy values.
Low
General
Normalize subtype to string
Ensure database_subtype is a string when present to align with its usage in strict equality checks. Coerce to empty string if nullish to avoid passing undefined through context consumers.
Why: Normalizing database_subtype to a string can simplify consumers doing strict comparisons, but the context type declares it optional; forcing "" may conflate “unknown” with an empty subtype and subtly change semantics, making impact moderate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ails
Description
prevent error toaster when submitting edited engine details with all mandatory fields filled.
Changes Made
How to Test
Notes