You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mohamed82008 provided the solution for this. It was suggested to add such functionality to this package. Potentially playing out nicely with @with_kw.
The text was updated successfully, but these errors were encountered:
In the discourse post it was mentioned that this functionality exists in QuickTypes. However, I don't think that matters. I think it is a great idea to add it to Parameters. There should be one great package that has all the good features.
My solution has some unhandled corner cases, mostly related to bad type definitions, like an integer showing up or something like that. Should be easy to fix though. Also inner constructors are not supported and not sure how well it can play with @with_kw since I haven't read the latter. So it will probably be more than a copy-paste PR.
On discourse, I asked for a way to automatically parameterize types with a macro.
yields
@mohamed82008 provided the solution for this. It was suggested to add such functionality to this package. Potentially playing out nicely with
@with_kw
.The text was updated successfully, but these errors were encountered: