FTCHD/frametrain

Separate `functionName` per button

Closed this issue · 3 comments

Currently you specify a global functionName for each handler.

This PR handles specifying a functionName for each button. This would remove target for post type buttons, as it doesn't make sense, as everything on FrameTrain is a function.

Relevant files are @/lib/serve.ts and @/lib/farcaster.d.ts`

There's an open discussion if we should use the target for specifying a function from now on instead of removing it. This may be handled in another PR, but worth mentioning here.

where's the open discussion at?

You're on it right now! 😁

Color me surprised 🤨. I thought there was a prior discussion about it elsewhere 😂