mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-03 19:36:20 +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);
 | 
						|
    };
 | 
						|
  },
 | 
						|
});
 |