Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Content Type ID in other notation than Model name does not work correctly #33

Open
edwardmp opened this issue Jun 20, 2018 · 0 comments

Comments

@edwardmp
Copy link

Hi,

I just spent a few hours debugging why the model entries in EmberJS weren't showing up.

In the end I discovered that it has to do with how you name your model vs. how you name your content type ID in contentful.

E.g. with file name of model: faq-entry.js and content type ID of faqEntry, the model is never filled with entries. I had to create a new content type with the id faq-entry for it to work. This is quite confusing, since you can actually specifiy exceptions to the content type ID in the URL in the adapter but this is only used for making the request and not serializing the request.

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

No branches or pull requests

1 participant