Skip to content

Updates to models not persisted #1516

Closed

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions