Convert egg variable's rules column array/json cast #113

Closed
opened 2026-02-05 17:09:10 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @lancepioch on GitHub (Jun 18, 2024).

Originally assigned to: @Boy132 on GitHub.

This is to help prepare for the yaml egg.

Input:

string
required|int
int|min:0|max:12345
required|in:1,3,4,7,11|regex:/asdf/

Output:

["string"]
["required", "int"]
["int", "min:0", "max:12345"]
["required", "in:1,3,4,7,11", "regex:/asdf/"]
  • Migration to convert existing rows into json
  • Array/JSON cast
  • All usages use new cast
Originally created by @lancepioch on GitHub (Jun 18, 2024). Originally assigned to: @Boy132 on GitHub. This is to help prepare for the yaml egg. Input: ``` string required|int int|min:0|max:12345 required|in:1,3,4,7,11|regex:/asdf/ ``` Output: ```json ["string"] ["required", "int"] ["int", "min:0", "max:12345"] ["required", "in:1,3,4,7,11", "regex:/asdf/"] ``` * [ ] Migration to convert existing rows into json * [ ] Array/JSON cast * [ ] All usages use new cast
OVERLORD added the 🟡 medium label 2026-02-05 17:09:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#113