@commodo/fields
Version:
Enables defining rich data models by decorating function instances with specified model fields. Additionally, it adds `populate` and `validate` methods, for populating model instances with data, and then validating it, respectively.
18 lines (14 loc) • 351 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _repropose = require("repropose");
const skipOnPopulate = () => {
return (0, _repropose.withProps)({
skipOnPopulate: true
});
};
var _default = skipOnPopulate;
exports.default = _default;
//# sourceMappingURL=skipOnPopulate.js.map