mirror of
https://github.com/strapi/strapi.git
synced 2025-07-28 11:30:21 +00:00
10 lines
241 B
JavaScript
10 lines
241 B
JavaScript
'use strict';
|
|
|
|
module.exports = ({ strapi }) => ({
|
|
buildDynamicZoneResolver({ contentTypeUID, attributeName }) {
|
|
return async (parent) => {
|
|
return strapi.entityService.load(contentTypeUID, parent, attributeName);
|
|
};
|
|
},
|
|
});
|