ServerClientConversionTrait

Created on 14 January 2025, 6 days ago

Overview

We currently have ClientServerConversionTrait that converts client-side data shape into server-side data shape. We should create ServerClientConversionTrait that converts server-side data shape into client-side data shape.

Proposed resolution

Create a ClientServerConversionTrait trait, extract similar BE logic from ApiLayoutController::buildLayout() and ApiConfigControllers::convertComponentTreeItemToLayoutModel() . Add tests, profit.

πŸ“Œ Task
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡¬πŸ‡§United Kingdom f.mazeikis Brighton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024