Skip to content

ember-sync/store/_serializeAssociations() prevent exception when relationships empty #35

@Leooo

Description

@Leooo
_serializeAssociations: function() {
  (..)
  var pushToCollection = function(snapshot) {
     if (typeof(snapshot)==='undefined') {return true;}//added
     (..)
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions