Hej @propensive . How would you feel about a PR to split up Magnolia's "gen" methods into smaller "public" methods? I'd like to use Magnolia as a toolkit to build my own macros instead of using the derivation directly. Would that make sense ?
-
-
Replying to @skaalf
Tu deviens suedois... ;) No, I don't fully understand! Can you give me an example of the usage? (Or anything which helps me get it!)
1 reply 0 retweets 0 likes -
Replying to @propensive
Mais oui! So I'm using Magnolia to derive Beam coders which must be serializable... As a consequence, I'd rather not have Magnolia classes at runtime. I'd also need to be careful not to accidentally capture the outer scope of my TC definition...
3 replies 0 retweets 0 likes -
Replying to @skaalf @propensive
So I was thinking that I could use Magnolia in my own macro to get the list of parameters of a given case classe and the typeclass instances of each param. Supporting sealed trait like Magnolia does would also be interesting.
1 reply 0 retweets 0 likes -
Replying to @skaalf
As an outside possibility, you might be able to call the Magnolia implementation method directly from your own macro implementation method. (It's just a method which returns a tree, after all...)
1 reply 0 retweets 0 likes -
Replying to @propensive
Yeah I thought about it but I don't think it really solve my issue. Issue 46 in the other hand seems to be what I need. Anything I can do to help with this ?
1 reply 0 retweets 0 likes -
Replying to @skaalf
Poke me, shame me, pay me... any of these would help me reprioritize! :/
1 reply 0 retweets 0 likes -
Replying to @propensive @skaalf
I tried one of the 3 options above. I can confirm it works.
1 reply 0 retweets 2 likes
If I recall correctly, there were lots of people watching and it was *two* out of the three options... ;)
-
-
Replying to @propensive @skaalf
Yea, combining the methods works faster indeed. By the way, my parents saw your tweet and watched the video, it made their day, so thanks for that. Sorry for hijacking the thread :)
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.