Skip to content

Conversation

@DGoel1602
Copy link
Contributor

Why

Allows us to hook up whatever logic we want to form responses like member and hacker creation

What

Just auto getting functions from a hashmap and calling them. Typing is something to be careful of and I've tried to maintain it but please look at the example for future procedures so it can properly typed. It's mainly just coercion by defining the type of Response argument to the type the form will be. Idk a better way to do it.

Test Plan

recording_2026-01-12_14.03.53.mp4

Copy link
Contributor

@DVidal1205 DVidal1205 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big change lgtm

@DVidal1205 DVidal1205 added this pull request to the merge queue Jan 12, 2026
Merged via the queue into main with commit 12832d4 Jan 12, 2026
5 checks passed
@DVidal1205 DVidal1205 deleted the forms/trpc-procedures branch January 12, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants