[BUG]: deepFindPathToProperty() throws TypeError if graphql response field is null #58
Open
1 task done
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Projects
What happened?
Some times a graphql response fields have value null. This causes currentValue.hasOwnProperty(searchProp) to throw
TypeError: Cannot read properties of null (reading 'hasOwnProperty')
error.Minimal Reproducible Example
Versions
@octokit/plugin-paginate-graphql@2.0.1
octokit@2.0.14
Node v16.17.0
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: