Skip to content

Comments

DX | 23-02-2026 | Release#253

Open
naman-contentstack wants to merge 5 commits intomasterfrom
staging
Open

DX | 23-02-2026 | Release#253
naman-contentstack wants to merge 5 commits intomasterfrom
staging

Conversation

@naman-contentstack
Copy link

No description provided.

harshithad0703 and others added 5 commits February 2, 2026 17:33
- Add null check at the top of getTag to return empty object early,
  preventing TypeError when Object.entries receives null or undefined
  (typeof null === "object" in JS, so null slipped through the switch)
- Add test cases covering null/undefined field values, null/undefined
  entries, multiple null fields, and nested null objects (Issue #193)

Co-authored-by: Cursor <[email protected]>
fix: guard against null/undefined in getTag function
@naman-contentstack naman-contentstack requested a review from a team as a code owner February 22, 2026 08:30
@github-actions
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
99.1% (+0.01% 🔼)
659/665
🟢 Branches
91.96% (-0.48% 🔻)
492/535
🟢 Functions 100% 143/143
🟢 Lines
99.35% (+0.01% 🔼)
609/613
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 entry-editable.ts
97.65% (+0.15% 🔼)
91.74% (-1.95% 🔻)
100%
98.65% (+0.1% 🔼)
🟢 gql.ts 100%
90.91% (-9.09% 🔻)
100% 100%

Test suite run success

412 tests passing in 21 suites.

Report generated by 🧪jest coverage report action from 21a6835

@github-actions
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
99.1% (+0.01% 🔼)
659/665
🟢 Branches
91.96% (-0.48% 🔻)
492/535
🟢 Functions 100% 143/143
🟢 Lines
99.35% (+0.01% 🔼)
609/613
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 entry-editable.ts
97.65% (+0.15% 🔼)
91.74% (-1.95% 🔻)
100%
98.65% (+0.1% 🔼)
🟢 gql.ts 100%
90.91% (-9.09% 🔻)
100% 100%

Test suite run success

412 tests passing in 21 suites.

Report generated by 🧪jest coverage report action from 21a6835

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.

3 participants