Skip to content

Enhance property access validation in Struct decoding#6126

Merged
polkadot-js-bot merged 1 commit intomasterfrom
tg-access-validation
Apr 11, 2025
Merged

Enhance property access validation in Struct decoding#6126
polkadot-js-bot merged 1 commit intomasterfrom
tg-access-validation

Conversation

@TarikGul
Copy link
Member

@TarikGul TarikGul commented Apr 9, 2025

This PR improves the property access validation in the Struct decoding process by using Object.prototype.hasOwnProperty.call() for property checks. This ensures more robust property validation when processing input objects and maintains consistency with JavaScript best practices.

@TarikGul TarikGul added the -auto label Apr 11, 2025
@polkadot-js-bot polkadot-js-bot merged commit 311cbe5 into master Apr 11, 2025
6 checks passed
@polkadot-js-bot polkadot-js-bot deleted the tg-access-validation branch April 11, 2025 11:36
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants