-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Use Waterline for database interface #5
Comments
Hey, this is pretty cool, I hadn't come across it before. I think probably my only gripe is that - as best I can tell from a quick lookthrough - it seems to favor SQL like storage. NoSQL database users will most likely prefer e.g. emails & service data to be stored as part of the user object (as arrays & dictionaries, respectively). Our current approach allows for each db connector to be responsible for how the data is stored, which is quite nice. It looks like they have embeddable documents on their roadmap. We could possibly enjoy the best of both worlds. My thinking is:
So let's keep things as is but leave this open? |
Sounds good. |
@gadicc What are your thoughts on using Waterline for our database code? This would allow us to forgo writing individual database adaptor packages like we had planned. Instead defining a model for our accounts data and relying on the end user to install the necessary waterline adaptor package for their database.
On the flip side, this would be putting all our eggs in one basket.
I'm leaning towards our original approach.
The text was updated successfully, but these errors were encountered: