Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject remoting context to options arg #3023

Merged
merged 2 commits into from
Dec 22, 2016
Merged

Commits on Dec 22, 2016

  1. Implement new http arg mapping optionsFromRequest

    Define a new Model method "createOptionsFromRemotingContext" that allows
    models to define what "options" should be passed to methods invoked
    via strong-remoting (e.g. REST).
    
    Define a new http mapping `http: 'optionsFromRequest'` that invokes
    `Model.createOptionsFromRemotingContext` to build the value from
    remoting context.
    
    This should provide enough infrastructure for components and
    applications to implement their own ways of building the "options"
    object.
    bajtos committed Dec 22, 2016
    Configuration menu
    Copy the full SHA
    4de3aa7 View commit details
    Browse the repository at this point in the history
  2. Contextify DAO and relation methods

    Modify remoting metadata of data-access methods in PersistedModel
    and relation method in Model and add an "options" argument to "accepts"
    list.
    bajtos committed Dec 22, 2016
    2 Configuration menu
    Copy the full SHA
    60ea3e9 View commit details
    Browse the repository at this point in the history