Joker.OData v3.0.0
tomasfabian
released this
24 Sep 14:17
·
102 commits
to master
since this release
Breaking changes:
ODataController<TEntity>
Signature changes:
- from
Task<int> OnPost
toTask<IActionResult> OnPostAsync(TEntity entity)
- from
Task<int> OnPut
toTask<IActionResult> OnPutAsync(TEntity entity)
- from
Task<int> OnPatch
toTask<IActionResult> OnPatchAsync(TEntity entity)
- from
Task<int> OnDelete
toTask<IActionResult> OnDeleteAsync(params object[] keys)
- Added virtual ValidatePostAsync to Post, ValidatePatchAsync to Patch, ValidatePutAsync into Put and ValidateDeleteAsync into Delete
Base call change:
- Patch does not call OnPut anymore but OnPatch
ReadOnlyODataController<TEntity>
Signature changes:
- OkObjectResult Get return type changed to IActionResult