You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like mapper above service.
So generic service will invoke mapping/datastorages and by default will return combination from all returned datastorages responses:
should based on #1
so when occurred field name duplication then write mapper script like below:
=*dataStorages // it will map from all data storages, this is default mapping for datastorages to service response
id=$mappingContext['db-datastorage'].id // it will put to id from result id from db-datastorage
but this mapper will have additional function like "=*dataStorages" which under the hood will does:
mikolajmitura
changed the title
Support for resolve type from generic services.
(maper for return from datasources) Support for resolve type from generic services.
May 18, 2022
Something like mapper above service.
So generic service will invoke mapping/datastorages and by default will return combination from all returned datastorages responses:
so by default will does:
db-datastorage:
mongo-datastorage:
will combine to:
should based on #1
so when occurred field name duplication then write mapper script like below:
but this mapper will have additional function like "=*dataStorages" which under the hood will does:
should be opportunity for code/script for this mapper or point out normal java class for it.
The text was updated successfully, but these errors were encountered: