Typed jobs

Is there a way to get generated type of function for a job like we do with queries?
4 Replies
matijash
matijash2y ago
hmm I remember we discussed that but not sure if implemented or not. Just gave it a quick look and couldn't find info around so I guess that was left for the future. But @martinsos will know 100%
martinsos
martinsos2y ago
@fossfighter nope not yet, but we will be addressing that soon as a part of our "polishing" efforts in this quarter! I was sure we had an issue for it because we discussed it quite a few times recently internally but I just realized there is none, so I created one here: https://github.com/wasp-lang/wasp/issues/1325 . Now when adding features we always add types also, but Jobs were added pre-TS Wasp era, so we they haven't caught up yet.
fossfighter
fossfighterOP2y ago
Wow didn't knew Wasp was pre-TS
martinsos
martinsos2y ago
Haha lol, no no I meant to say "before Wasp's TypeScript era", in the sense of "the moment when Wasp introduced TypeScript support for the most of its features", which happened at the beginning of this year if I remember correctly :D.
Want results from more Discord servers?
Add your server