Skip to content
This repository has been archived by the owner on May 8, 2022. It is now read-only.

Fixes #33 FuseProperty.name reports the value #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

levous
Copy link

@levous levous commented Dec 2, 2019

This change fixes #33
The FuseProperty.name is used to retrieve the property value when possible but reverts to its current behavior using the key as the searchable text when reflection does not resolve to a value.

…key then reported properly in results. Added utility to reflect value using name as key. Updated search to use new utility. yay.
Comment on lines 273 to 281
/*
results.forEach { item in
print("-- Fuse Result -----")
print("index: \(item.index)")
print("score: \(item.score)")
print("results: \(item.results)")
print("--------------------")
}
*/
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this could have been uncommented

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fuseable FuseProperty.name reports the value rather than the key
1 participant