OlegYch

Results 67 comments of OlegYch

yep ```scala //ObjectName.scala:338:55: Magnolia macro expansion for packagename.ObjectName.Step // implicit val zStepFormat = MagnoliaFormatSchema.gen[Step] ^ ... = { lazy val stepTypeclass$macro$4: packagename.common.schema.MagnoliaFormatSchema.Typeclass[packagename.ObjectName.Step] = { val paramTypeclass$macro$6 = packagename.common.schema.MagnoliaFormatSchema.toMagnolia[packagename.ObjectName.Type.Value](packagename.common.schema.MagnoliaSchema.zEnumerationSchema[packagename.ObjectName.Type.type](ObjectName.this.Type.zTypeFormat, (({ val...

there is a problem with current impl which i hope can be addressed as well with the rewrite here is a showcase https://github.com/softwaremill/magnolia/pull/421 basically, since `subtypes` contains only types directly...

actually the problem seems to be easy to fix with old implementation, i submitted a pr

@KacperFKorban i thought so too, but it appears to be no way to make `choose` work, or enumerate all subtypes trying out all instances will not work since multiple instances...

@kubukoz yes, with one little fix https://github.com/propensive/magnolia/pull/240

this search request https://index.scala-lang.org/api/project?organization=scala&repository=scala&target=JVM&scalaVersion=2.12.7 fails and breaks search for eg parser-combinators on scastie

In my case this was caused by NewRelic javaagent (using play 2.8.7 slick 3.3.3 (numThreads = 5) hikari 4.0.3 mysql connector 8.0.22) with newrelic: ![image](https://user-images.githubusercontent.com/268312/124975592-d74dfb80-e036-11eb-9588-20f57715ffe8.png) without newrelic: ![image](https://user-images.githubusercontent.com/268312/124975620-df0da000-e036-11eb-9bcc-06d2e323ad17.png)

do you mean exporting to gist? i guess that should be pretty easy to implement as we already have an option to download full project

that's an interesting idea, you might take a look at https://github.com/scalacenter/scastie/blob/73553b240b0f86d66774f302b0b90f5a331fbc02/storage/src/main/scala/com.olegych.scastie.storage/SnippetsContainer.scala and https://github.com/scalacenter/scastie/blob/73553b240b0f86d66774f302b0b90f5a331fbc02/server/src/main/scala/com.olegych.scastie.web/oauth2/GithubUserSession.scala to see what's involved

i'd suggest to add (optional) timestamps instead