Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

fix key prefix logic #5

Merged
merged 1 commit into from
Jan 16, 2019
Merged

fix key prefix logic #5

merged 1 commit into from
Jan 16, 2019

Conversation

eli-darkly
Copy link
Contributor

This fixes a dumb mistake I made in adding the key prefix feature in 1.1.0; it didn't work because the prefix was only being used for writes, not for reads.

It also makes use of some extra unit test functionality added in ldclient-node 5.7.1 so that we are now actually testing that feature (as we now do for all feature stores).

@eli-darkly eli-darkly requested a review from kbrackbill January 16, 2019 20:13
@@ -194,7 +194,7 @@ function dynamoDBFeatureStoreInternal(tableName, options) {

function marshalItem(kind, item) {
return {
namespace: kind.namespace,
namespace: namespaceForKind(kind),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the fix.

@eli-darkly eli-darkly requested review from apucacao and removed request for kbrackbill January 16, 2019 20:30
@eli-darkly eli-darkly merged commit c217bc8 into master Jan 16, 2019
@eli-darkly eli-darkly deleted the eb/ch30067/prefix branch January 16, 2019 21:46
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.

2 participants