201-created / ember-data-hal-9000

An ember-data compatible ember-cli addon that provides a HAL adapter
https://github.com/201-created/ember-data-hal-9000
MIT License
38 stars 23 forks source link

ember data emitting warning because of 'extractMeta' function #52

Open Ramblurr opened 7 years ago

Ramblurr commented 7 years ago

WARNING: You've defined 'extractMeta' in (unknown mixin) which is not used for serializers extending JSONAPISerializer. Read more at http://emberjs.com/api/data/classes/DS.JSONAPISerializer.html#toc_customizing-meta on how to customize meta when using JSON API.

Defined in ember data code here and was added in 2.11.0-beta.1

Perhaps we can rename this function to avoid the warning?

diogoca commented 7 years ago

image

image

Same here and I'm getting unknown on model column on view tree, is this normal? Thanks.

zmnatz commented 7 years ago

Modified the code and it seems to work fine. Extract Meta is not used by JSONAPIAdapter. It seems to just be called that in the mixin as a naming convention

KroneckerDeIta commented 5 years ago

This seems to have come back again with a newer version of ember-data. Now seeing:

WARNING: You've defined 'extractMeta' in (unknown) which is not used for serializers extending JSONAPISerializer. Read more at https://emberjs.com/api/data/classes/DS.JSONAPISerializer on how to customize meta when using JSON API.

ember-data version: 3.8.0 ember-data-hal-9000 version: 0.3.3