rockneurotiko / ex_gram

Telegram Bot API low level API and framework
182 stars 26 forks source link

Update the extractor to allow union types on models #111

Closed rockneurotiko closed 1 year ago

rockneurotiko commented 1 year ago

Fix #110

a3kov commented 1 year ago

I am thinking it's not as simple as that. This only updates the extractor. Don't you also need to update the macro helpers ?

rockneurotiko commented 1 year ago

I don't think so, the macros are generating the structs correctly with the union types:

image