Allow data loading in REST integrations
See original GitHub issueThere are use cases where we would like to actually load the updatable view and deserialize onto that loaded instance. We could tell users to inject the EntityViewAwareObjectMapper if that is possible, and use it like this
@Inject EntityViewAwareObjectMapper mapper; @Path("{id}") public Response put(@PathParam("id") Long id, InputStream is) { MyView v = repository.findById(id); mapper.readerFor(MyView.class).withValueToUpdate(v); }
That is IMO fine if it’s possible, but should definitely be documented.
Quote @beikov
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Loading Data via REST API - Gooddata Enterprise
Loading data via REST API consists of the following steps: Prepare the SLI manifest. Prepare CSV files with data to load.
Read more >Running Data Rules - Oracle Help Center
Executes a Data Management data load rule based on the start period and end period, and import or export options that you specify....
Read more >Connect REST API to Salesforce: Loading & Querying Data ...
This article provides a comprehensive guide on REST API to Salesforce connection. It also provides information on API, REST API and ...
Read more >Loading data in Oracle Fusion Cloud. Inbound integration or ...
HCM Data Loader (HDL) · Webservices (Soap) · Rest API · Excel loader Ad-on(ADFDi) · File based data import (FBDI) · More articles...
Read more >Create a REST (Integration Hub) type data source
Use Batch Import, If selected, specifies that loading data should be batched when you click Load data or Test load 20 records. ;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I suggest two settings,
ApplyMode
and a boolean flagupdateReference
.Ok, let me revise my suggestion:
This should cover all use cases. Do you agree?