Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

WIP: Mongo store.ts schema #19

Closed
wants to merge 2 commits into from
Closed

WIP: Mongo store.ts schema #19

wants to merge 2 commits into from

Conversation

pmespresso
Copy link

@pmespresso pmespresso commented Jul 2, 2018

submitting a WIP pull request to start this task as I'm new to this project. Does this look along the lines what you're looking for? @shrugs

@shrugs
Copy link
Member

shrugs commented Jul 19, 2018

good start!

basically, we'll want to implement IPersistInterface like we've done here: https://github.com/XLNT/gnarly/blob/master/packages/gnarly-core/src/stores/sequelize.ts#L103

but using mongoose instead.

We'll also want to implement a typestore, which understands how to accept json-patch patches and update the backing store correctly

https://github.com/XLNT/gnarly/blob/master/packages/gnarly-core/src/typeStore/Sequelize.ts#L28

@shrugs
Copy link
Member

shrugs commented Aug 12, 2018

Hey @yjkimjunior I've gone ahead and closed the mongo issue, since we're going to be moving forward with #32 and adding pouchdb support. thanks for your attempt!

@shrugs shrugs closed this Aug 12, 2018
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