-
Notifications
You must be signed in to change notification settings - Fork 2
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
Contributions #29
Comments
Hi, glad to to see your interest in this project. Although I am working on
a different project right now, and can not make an active development, I
can help you with an advices, issues, ideas and code.
It would be cool if you have some plans to use library in some own project.
This would give us an opportunity to test library and also to make a
reasonably prioritised features roadmap.
I think I will back to active contribution to this project in the future.
As for project itself, since it is a port of a original python library, it
makes a lot of sense to keep this project in sync with python version. I
know python’s lib author in person. He has a good vision of how elasticmagic should evolve, and I second him in that.
You can text me if you have any questions.
|
First issue is a design issue. According to the example, we have to declare two sets of fields in document class, one - static, for query building and second for data population. This pattern is very convenient in python because in this case class attributes and instance attributes are interchangeable, but not in js. My proposition is somehow to separate query building and data population. We can use pattern called data mapper. In this case, query builder is responsible for query building and data fetching, and another class will be used to populate it with data fetched using query builder. |
Thanks for replying. I can start fixing the design thingy. Let me also checkout the python elasticmagic, it will give a closer look at the vision of the project. |
Hey @kindermax
Are you accepting PRs? Can we have a formal issue list to pick? I am currently reading the code and fixing a few things based on your TODO comments in the code. So where should I start?
The text was updated successfully, but these errors were encountered: