@wycats if I need to use a custom RESTAdapter and I need a custom Store -how would I setup one (or both) in the latest ember-data ?
-
-
@wycats unless you know how to get the attribute name for a hasMany lookup (not just the type) -pass this small test https://github.com/toranb/ember-data-django-rest-adapter/commit/1f93324f892decc130a53879c2fe6d4b1f7716b8 …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats out solution in the past was to override the store, then inside the findMany we'd get the attribute name and append it for the adptr -
@toranb@wycats this is semi hacky but works without venturing into the store: (https://github.com/toranb/ember-data-django-rest-adapter/pull/42 …). -
@CraigTeegarden you mentioned that your app has transforms -did you handle datetime yet? if so could you show it? https://github.com/toranb/ember-data-django-rest-adapter/issues/26 … -
@toranb isodate transform (https://github.com/emberjs/data/blob/master/packages/ember-data/lib/transforms/date.js …), only issue is it requires Date.toJSON(), but we use shim for older IEs -
@toranb And if we wanted to include the transform in the adapter I believe we would need to initialize it: https://github.com/emberjs/data/blob/master/packages/ember-data/lib/initializers.js#L57 … -
@CraigTeegarden if we can include it out of the box that’s a plus -testing that isnt easy right now but I’ll spike out something this weeknd -
@toranb which have part would be hard to test? Testing the initializer? - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.