-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Merge this repo back into pelias/admin-lookup #48
Comments
Do it, I introduced the wof-admin-lookup project in my younger more inexperienced JS days. |
I kinda like having the data source be explicitly called out in the name. It would be ideal if there was also a generic |
That's true, I like that as well. We do kinda have that with https://github.com/pelias/wof-pip-service/ though. |
Just to clarify, because I think my previous statement may have been a bit vague... An importer would do something like this: var admin_lookup = require('pelias-admin-lookup');
var config = { admin_lookup: { source: 'wof' } };
someStreams
.pipe(admin_lookup.setup(config.admin_lookup)
.pipe(.....); and in the |
Sorry, my comment was also vague! :p I really like the interface you suggested and was also thinking of something along those lines when reading your comment, and was in fact agreeing. Right now we have In fact this also looks like it would help solve #52, since right now a little bit too much setup is required by code calling this module. |
It feels rather silly to have two admin lookup repos, especially when one of them is deprecated. I propose we move all the code in this one into the pelias/admin-lookup repo, and then delete this one. We may change how we do admin lookup again in the future, so locking Who's on First into the title of the repository doesn't feel right.
The text was updated successfully, but these errors were encountered: