[Refactor] Define types for issue-template field "attributes" and "validations" #12586

Open
opened 2025-11-02 10:15:19 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @6543 on GitHub (Mar 3, 2024).

currently we use map[string]any and manually extract via complex functions based on Type afterwards.

I propose to define struct types for each IssueFormFieldType to future de-/serialize the attributes and validations information

Originally created by @6543 on GitHub (Mar 3, 2024). currently we use `map[string]any` and manually extract via complex functions based on Type afterwards. I propose to define struct types for each **IssueFormFieldType** to future de-/serialize the `attributes` and `validations` information
GiteaMirror added the type/refactoring label 2025-11-02 10:15:19 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12586