Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to migrate to Ember Data 1.13 new serializer api #22

Open
Gaurav0 opened this issue Aug 31, 2015 · 6 comments
Open

How to migrate to Ember Data 1.13 new serializer api #22

Gaurav0 opened this issue Aug 31, 2015 · 6 comments

Comments

@Gaurav0
Copy link

Gaurav0 commented Aug 31, 2015

Please discuss the differences between the old serializer api and the new serializer api and discuss how to migrate a model from the old api to the new api.

@taras
Copy link
Member

taras commented Aug 31, 2015

@Gaurav0 I didn't see any change in the model, but the serializer is quiet different. Are you using a RESTSerializer?

@Gaurav0
Copy link
Author

Gaurav0 commented Aug 31, 2015

Sorry, should have said "migrate a serializer".

I'm going to move Ember Twiddle first as I will be able to do my learning (and ask for help) in public. :) Ember Twiddle is using a Custom Serializer that extends from JSONSerializer. I have applications that use RESTSerializer though.

The real issue is that the long planned 1.13 transition guide for Ember Data serializers was never published (even though 2.0 is now out).

@taras
Copy link
Member

taras commented Aug 31, 2015

I'm going to move Ember Twiddle first as I will be able to do my learning (and ask for help) in public. :)

Great idea :)

The real issue is that the long planned 1.13 transition guide for Ember Data serializers was never published (even though 2.0 is now out).

I was using this article http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html when doing an upgrade. The hardest part was knowing what JSONAPI format was expected because JSONAPI example were very limited.

@frank06
Copy link

frank06 commented Sep 28, 2015

Far from being a complete guide, but I wrote this article as some sort of extension of the aforementioned "Ember Data 1.13 released". I found myself going back to that Ember Data blog post a million times! I think better docs regarding JSON API are coming soon :)

@Gaurav0
Copy link
Author

Gaurav0 commented Sep 28, 2015

@frank06 Yes I saw that two weeks ago. It truly helped and finally enabled me to get Ember Twiddle into the new serializer api. However, for the most part I was still guessing and testing if random stuff worked rather than gaining any sort of understanding.

@frank06
Copy link

frank06 commented Oct 1, 2015

@Gaurav0 Awesome, I didn't know you were the great force behind Ember Twiddle. I love it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants