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

Add operation support with RESTier own controller #378

Closed
chinadragon0515 opened this issue Apr 26, 2016 · 5 comments
Closed

Add operation support with RESTier own controller #378

chinadragon0515 opened this issue Apr 26, 2016 · 5 comments
Assignees
Milestone

Comments

@chinadragon0515
Copy link
Contributor

chinadragon0515 commented Apr 26, 2016

Current in RESTier, the operation (function and action) are supported with additional controller and WebApi ODataRoute attribute, add support with RESTier controller.

Need to support both bounded and unbounded operation, and also support in batch request.

Before this is added, consumer can create separate controller to support operation, docs will be added for this part.

@chinadragon0515 chinadragon0515 changed the title Add action support Add operation support with May 8, 2016
@chinadragon0515 chinadragon0515 changed the title Add operation support with Add operation support with RESTier own controller May 8, 2016
@chinadragon0515
Copy link
Contributor Author

The current way to support operation, refer to document http://odata.github.io/RESTier/#03-03-Operation, thanks.

@chinadragon0515
Copy link
Contributor Author

chinadragon0515 commented May 31, 2016

This issue will be resolve in several steps,

  1. unbound function with zero or one parameter.
    2.unbound function with more than one parameters.
    3.unbound action with zero or one parameter and without request body
    4.unbound action with zero or one parameter and with request body
    5.unbound action with more than one parameters and without request body
    6.unbound action with more than one parameters and with request body
  2. bound function support
  3. bound action support

@chinadragon0515
Copy link
Contributor Author

chinadragon0515 commented Jun 6, 2016

1,2,7 are supported with PR #424, and note path segment after function is not supported yet.
Query options for function is supported with same PR.

@chinadragon0515
Copy link
Contributor Author

Action part are supported with PR #453, all code has merged.
Keep this issue open for document purpose only.

@chinadragon0515
Copy link
Contributor Author

document updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant