hoodiehq / ember-hoodie

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

[question]: why hoodieAccount service does not expose hoodie account api completely? #74

Open fredguth opened 7 years ago

fredguth commented 7 years ago

In hoodie-account.js, the service does not allow: account.validate account.signUp account.signIn account.signOut account.destroy account.get account.update account.profile.get account.profile.fetch account.profile.update account.request account.on account.one account.off

is there a reason for that? It doesn't seem right.

gr2m commented 7 years ago

I agree, it should expose all of the account methods. Note that there was a change recently: https://github.com/hoodiehq/hoodie-account-client/releases/tag/v6.0.0

I think account.profile.fetch no longer exists, also the account.ready method was removed. It would be great if you could help us make ember-hoodie up to date. I used it myself in the past but am not right now so can’t help maintain it at this point. Happy to onboard you :)

fredguth commented 7 years ago

I will work on this next week, I was already planning to take a deeper look in ember-hoodie.