Skip to content

Added guard to check breadcrumb data is a Hash object - #22

Merged
mrexox merged 1 commit into
mrexox:masterfrom
schinery:master
Nov 25, 2025
Merged

Added guard to check breadcrumb data is a Hash object#22
mrexox merged 1 commit into
mrexox:masterfrom
schinery:master

Conversation

@schinery

@schinery schinery commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Fix for #21 as it appears that breadcrumb data in some instances can be something other than a Hash.

Also, while adding a spec for this I re-jigged the breadcrumb specs a bit to reduce some nesting. Happy to revert this and just put the spec in though if you think it isn't needed.

@coveralls-official

Copy link
Copy Markdown

Coverage Status

coverage: 92.339% (+0.4%) from 91.935%
when pulling 23ec701 on schinery:master
into f1398a1 on mrexox:master.

@schinery schinery changed the title Added guard to check we are only trying to sanitise a Hash Added guard to check breadcrumb data is a Hash object Nov 24, 2025
@mrexox

mrexox commented Nov 25, 2025

Copy link
Copy Markdown
Owner

Awesome! Thank you for fixing the edge cases!

@mrexox
mrexox merged commit b61d49a into mrexox:master Nov 25, 2025
23 checks passed
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