Skip to content

[WIP] Address feedback on optional chaining usage in refactor PR#15867

Closed
Copilot wants to merge 1 commit into
refactor/use-object-has-ownfrom
copilot/sub-pr-15866
Closed

[WIP] Address feedback on optional chaining usage in refactor PR#15867
Copilot wants to merge 1 commit into
refactor/use-object-has-ownfrom
copilot/sub-pr-15866

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 4, 2025

  • Understand the current code and the feedback
  • Update line 96 in lib/types/documentArray/index.js to use schematype?.virtuals && Object.hasOwn(schematype.virtuals, prop) pattern
  • Verify the change aligns with the pattern used on line 82
  • Run tests to ensure no regressions
  • Reply to the comment with the commit hash

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

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