Zatvobor/ember-couchdb-kit

@get('serializer') returns null in stringForType

Closed this issue · 4 comments

I've had to add the following to my ApplicationAdapdater:

App.ApplicationAdapter = EmberCouchDBKit.DocumentAdapter.extend
  stringForType: (type)->
    type.typeKey

Am I maybe supposed to be injecting the serializer into the adapter? Please advise if I'm missing something.

What branch are you using?

This happens on beta2.

I remove stringForType method. Now I can use only Ember.String.singularize for design name and type