Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - DB Key mapping #39

Open
centinel3 opened this issue Apr 6, 2015 · 0 comments
Open

Feature request - DB Key mapping #39

centinel3 opened this issue Apr 6, 2015 · 0 comments

Comments

@centinel3
Copy link

Good morning,

I'm interested in using this package for social sharing on my web app, though my hesitation is that this requires specific mongodb keys to pull the correct data when sharing. Would it be possible to have a configuration for mongodb key mapping so that I can keep my current db key names and still use this package? Example is below. Let me know when you can. Thanks! -Chris

e.g.:
ShareIt.configure({
dbMap: {
title: projectTitle,
author: creator,
description: projectDescription
}
});

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

No branches or pull requests

1 participant