mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +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);
 | |
|     };
 | |
|   },
 | |
| });
 | 
