Skip to content

[5.x] Harden getQueryableValue()#14476

Open
duncanmcclean wants to merge 7 commits into5.xfrom
get-queryable-value
Open

[5.x] Harden getQueryableValue()#14476
duncanmcclean wants to merge 7 commits into5.xfrom
get-queryable-value

Conversation

@duncanmcclean
Copy link
Copy Markdown
Member

@duncanmcclean duncanmcclean commented Apr 10, 2026

This PR hardens the getQueryableValue() method on various classes.

@duncanmcclean duncanmcclean changed the title [5.x] Harden getQueryableValue [5.x] Harden getQueryableValue() Apr 10, 2026
@duncanmcclean duncanmcclean marked this pull request as ready for review April 10, 2026 12:28
jasonvarga and others added 6 commits April 10, 2026 11:33
Remove redundant method_exists check since the allowlist already
contains only known methods. Rename methodIsSafeToQuery to
queryableMethods, returning the array directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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