ember-inspector icon indicating copy to clipboard operation
ember-inspector copied to clipboard

Models aren't showing up in data when registered manually

Open nathanpalmer opened this issue 10 years ago • 10 comments

We have an ember-cli 0.1.7 project where we register several models within an initializer

app.register('model:person', DS.Model.extend({}));

This seems to work for ember and they are functional but they never show up in the inspector.

Potentially related issues: #202 and #245

nathanpalmer avatar Jan 21 '15 05:01 nathanpalmer

We should look into the registry in addition to the resolver here. This is unrelated to the other issues. The fix will be in Ember core not in this repo, but let's track the issue here since it's related to the inspector.

teddyzeenny avatar Jan 31 '15 19:01 teddyzeenny

+1

@teddyzeenny Do you know if there is an open issue in Ember core that would address this?

Gowiem avatar Apr 30 '15 18:04 Gowiem

+1 needed :+1:

SeyZ avatar Jun 26 '15 14:06 SeyZ

Is there any progress on dynamic models being visible in the data tab?

mapohjola avatar Jan 09 '16 09:01 mapohjola

Can you please update the status on this issue?

lnaravindan avatar Mar 04 '16 06:03 lnaravindan

Is there any progress on this issue?

nag9329 avatar Jan 21 '17 00:01 nag9329

Still having this problem. Any updates?

Phoxly avatar Jan 27 '17 16:01 Phoxly

@teddyzeenny it seems people have been having issues with this for quite awhile. You mentioned the fix needs to be in Ember core. Did we open an issue there? If not, would you mind helping me understand the changes we need and I can open one?

RobbieTheWagner avatar Nov 02 '18 18:11 RobbieTheWagner

+1

hencca avatar Nov 03 '19 14:11 hencca

I'm still not sure why people are manually registering models. Can they not be normal models?

That being said, I'm pretty sure we just ask ember-data for the models, so I assume the fix is in ember core or ember-data. Definitely would love some help here!

RobbieTheWagner avatar Nov 03 '19 17:11 RobbieTheWagner