Skip to content

Avoid usage of SelectToken#392

Open
Henrik (Henr1k80) wants to merge 1 commit intocontentful:masterfrom
Henr1k80:avoid-SelectToken
Open

Avoid usage of SelectToken#392
Henrik (Henr1k80) wants to merge 1 commit intocontentful:masterfrom
Henr1k80:avoid-SelectToken

Conversation

@Henr1k80
Copy link
Contributor

@Henr1k80 Henrik (Henr1k80) commented Jan 27, 2026

And avoid some unneeded lookups & improve unit test file load

Firstly the SelectToken path string is parsed every time, allocating filters and a lot of the object is checked to see if there is exactly ONE node.
Instead look the value up by name

@Henr1k80 Henrik (Henr1k80) requested a review from a team as a code owner January 27, 2026 22:02
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.

1 participant