ember 3.18 version update modifications

This commit is contained in:
2020-07-23 10:51:45 -05:00
parent 32d2854110
commit ecaa9d6d0a
15 changed files with 89 additions and 68 deletions
+8
View File
@@ -0,0 +1,8 @@
import DS from 'ember-data'
export default DS.JSONSerializer.extend
keyForRelationship: (key, typeClass, method) ->
switch typeClass
when 'belongsTo' then "#{key}_id"
else key
shouldSerializeHasMany: -> false