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

Deprecation: add dasherized string #288

Closed
virgiliud opened this issue Jul 23, 2015 · 3 comments
Closed

Deprecation: add dasherized string #288

virgiliud opened this issue Jul 23, 2015 · 3 comments

Comments

@virgiliud
Copy link

I'm following the Emberfire quickstart. I'm using find() to retrieve data and get the following:

DEPRECATION: Passing classes to store methods has been removed. Please pass a dasherized string instead of firebase-test@model:project:
        at ember$data$lib$system$store$$Service.extend.serializerFor 

I also get the following error:

Error while processing route: projects Cannot read property 'modelName' of undefined TypeError: Cannot read property 'modelName' of undefined
    at ember$data$lib$system$store$$Service.extend.adapterFor (http://localhost:4200/assets/vendor.js:81475:35)
    at ember$data$lib$system$store$$Service.extend.serializerFor (http://localhost:4200/assets/vendor.js:81518:46)
    at listenForChanges (http://localhost:4200/assets/vendor.js:98102:30)
    at recordWasPushed (http://localhost:4200/assets/vendor.js:98076:14)
    at push (http://localhost:4200/assets/vendor.js:98627:23)
    at superWrapper [as push] (http://localhost:4200/assets/vendor.js:32158:20)
    at ember$data$lib$system$store$serializer$response$$_pushResourceObject (http://localhost:4200/assets/vendor.js:74316:20)
    at http://localhost:4200/assets/vendor.js:74278:20
    at Array.map (native)
    at ember$data$lib$system$store$serializer$response$$pushPayloadData (http://localhost:4200/assets/vendor.js:74277:73)

I'm using the latest ember release 1.13.5

@metyumck
Copy link

I am getting the same issue. Tried using 1.13.6 and 1.13.4 but was unable to resolve it.

@metyumck
Copy link

I believe this issue is a duplicate of #272. I was able to fix the issue by using the instructions provided. Basically, change your emberfire version to firebase/emberfire#master and run npm install. Then try again and see if the issue persists.

@tstirrat
Copy link
Contributor

Yeah, its a dupe. I'll re-open the other issue for visibility

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

No branches or pull requests

3 participants