hoodiehq / ember-hoodie

Build awesome offline-first Ember apps with Hoodie!
MIT License
17 stars 6 forks source link

allow hoodie-client's full configuration through app environment #69

Open brunopedroso opened 7 years ago

brunopedroso commented 7 years ago

Hoodie's config now provides full configuration to server, but not to client.

We're using only the client property, so I cant configure PouchDB (I want to use an in-memory instance for testing purposes).

I suggest we simply pass the client property as is to Hoodie`s constructor, so we can manage to configure PouchDB.

I can make the PR if it looks like a nice idea.

Tx.

brunopedroso commented 7 years ago

here is it, btw. #70

brunopedroso commented 7 years ago

Hmmm... I tested it, but it didnt work... details in the PR =(