Skip to content

Updates to models not persisted #1516

Description

@dashby3000

Check this out: https://github.com/dashby3000/RemoteTest

  1. Do a POST /RemoteTest
  2. Do a POST on /RemoteTest/{id}/ModelA
    Get rid of handler creation for each request. #2 Should result in a field being injected into the JSON in the beforeRemote but it isn’t. (edited)

In the test case I sent, in RemoteTest.js, if you change RemoteTest.beforeRemote('prototype.__create__ModelA', … ) to RemoteTest.beforeRemote('create', … ) you can see it works for non-prototyped relationships

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions