endpoints!
and topics!
macros don't accept generic type parameters
#56
Labels
bug
Something isn't working
open to sponsorship
This issue is something James wants, and would be willing to prioritize as sponsored/contract work
In v0.10, I made it so that endpoints and topics could accept types with lifetimes, e.g.:
However I wasn't able to figure out how to accept lifetimes AND/OR types, which means that generic types require an alias. This doesn't work (because we try and interpret the stuff between
<>
as lifetimes):But this does:
This is not good UX, and should be fixed. I am open to improvements of the macro syntax to re-allow this, it will likely require some kind of fancier tt-muncher or something to separately collect the types and generics.
The text was updated successfully, but these errors were encountered: