"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCachingParameterResolver = createCachingParameterResolver;
const store_1 = require("./store");
function createCachingParameterResolver(key, resolver) {
    return context => (0, store_1.getOrCacheValue)(context.request, key, () => resolver(context));
}
//# sourceMappingURL=parameter-resolvers.js.map