Open gklyne opened 4 years ago
I'm proposing the following name changes:
- objectPrefixWhitelist -> expandObjectPrefix
- objectUriWhitelist -> expandObjectUri
- objectTypeWhitelist -> expandObjectType
- objectPrefixBlacklist -> ignoreObjectPrefix
- objectUriBlacklist -> ignoreObjectUri
- objectTypeBlacklist -> ignoreObjectType
- propertyPrefixWhitelist -> followPropertyPrefix
- propertyUriWhitelist -> followPropertyUri
- propertyPrefixBlacklist -> ignorePpropertyPrefix
- propertyUriBlacklist -> ignorePropertyUri
Comment received from @musicog (via Slack):
I would be careful with "expand" since its meaning is overloaded in jsonld-world. Maybe "include"? "fetch"? (both of those are overloaded in more general javascript as well, of course...)
Proposing "extend" instead of "expand".
(Work-in-progress PR at https://github.com/oerc-music/meld-clients-core/pull/16)
Changing names of blackList/whiteList in meld core codebase (dev branch), as these have unfortunate connotations for some.
E.g. use:
Plan:
Ideally, this would be done with a test suite in place, but discussions indicate that the name change needs to be done sooner rather than later, so we may just have to push ahead.