Skip to content

Improve objectSpread function property handling#1982

Merged
polkadot-js-bot merged 2 commits intomasterfrom
tg-obj-spread
Apr 11, 2025
Merged

Improve objectSpread function property handling#1982
polkadot-js-bot merged 2 commits intomasterfrom
tg-obj-spread

Conversation

@TarikGul
Copy link
Member

@TarikGul TarikGul commented Apr 9, 2025

This PR updates the objectSpread function to better handle special object properties. The changes include:

  • Added property filtering to maintain consistent object structure
  • Improved handling of Map and regular object sources
  • Enhanced object property copying mechanism
  • Updated documentation to reflect the new behavior

These changes ensure more predictable object property spreading behavior across different input types.

@TarikGul TarikGul added the -auto CI only tag. label Apr 11, 2025
@polkadot-js-bot polkadot-js-bot merged commit 9d49bcd into master Apr 11, 2025
6 checks passed
@polkadot-js-bot polkadot-js-bot deleted the tg-obj-spread branch April 11, 2025 11:37
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Apr 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

-auto CI only tag.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments