UNPKG

@sap-cloud-sdk/odata-v4

Version:

SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.

17 lines 874 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.entityDeserializer = entityDeserializer; const internal_1 = require("@sap-cloud-sdk/odata-common/internal"); const extract_odata_etag_1 = require("../extract-odata-etag"); // eslint-disable-next-line import/no-internal-modules const response_data_accessor_1 = require("../request-builder/response-data-accessor"); /** * Entity deserializer instance for v4 entities. * See {@link @sap-cloud-sdk/odata-common!EntityDeserializer} for the provided methods. * @param deSerializers - DeSerializer to be used. * @returns EntityDeserializer. */ function entityDeserializer(deSerializers) { return (0, internal_1.entityDeserializer)(deSerializers, extract_odata_etag_1.extractODataEtag, response_data_accessor_1.getLinkedCollectionResult); } //# sourceMappingURL=entity-deserializer.js.map