glenjamin / glenjamin/skin-deep

Provide wildcard prop matcher

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Accepted enhancement
Dominant language
JavaScript
Stars
198
Forks
35
PR merge metrics
No merged PRs in 30d

Description

As discussed in #13

Add a property exposed in the module export which is treated as a wildcard for prop matching purposes.

This would allow something like: `subTree('*', { id: 'abc', children: SkinDeep.any }` - which does a complete prop match, but doesn't care about the value of the `children` prop.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the module export and the existing prop-matching implementation, starting with how complete prop matches handle the children prop. Use the example in the issue as the acceptance case, and confirm that wildcard matching ignores only the selected prop while the other props still require an exact match.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.