You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: re-merge listViews after defineStack strips them from objects
Root cause: defineStack() validates config through Zod schemas which strip
non-standard properties like listViews from objects. The mergeViewsIntoObjects()
call in objectstack.shared.ts was being undone by the subsequent defineStack().
Fix: Apply defineStack() first for validation, then re-merge views from the
raw config into the validated objects. Applied to both:
- apps/console/objectstack.shared.ts (MSW/browser mode)
- objectstack.config.ts (server mode)
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments