Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
nafg
@nafg
ok, and the datasource thing?
Renato Cavalcanti
@renatocaval
datasource?
ah, yes
there is an issue in Scala 2.13
nafg
@nafg
that's like most of the PR ;)
Renato Cavalcanti
@renatocaval
sorry, not an issue
I don’t remember the details, but that was fixed in master
and I backported
let me find it back
here is the issue in Scala scala/bug#11530
that was done in master and I had to backport to 2.7.x yesterday
nafg
@nafg
wow. I see :)
Renato Cavalcanti
@renatocaval
the other option was to not have 2.13 for 2.7.x branch, but we decided that this small breakchange was not such a big issue
it’s supposed to be internal API, but of course users can still use it. It’s on the classpath
nafg
@nafg
that would be really unfortunate... although I would say the other option would be to wait for a 2.13.1 that fixes the bug hopefully soon
N.S. Cutler
@godenji
Was any headway ever made with delivering a lightweight REST server version of Play? i.e. without Twirl and other server-side generated assets. I recall an issue back in the 2.4.x days but can't find it.
There are various plugins with different dependencies like PlayService, PlayWeb, PlayMinimalJava....
N.S. Cutler
@godenji
@mkurz oh, very nice, thanks for the lead.
N.S. Cutler
@godenji

FTR, I needed the following to get minimal play version working:

.enablePlugins(PlayService)
.enablePlugins(PlayLayoutPlugin)
.enablePlugins(RoutesCompiler)

without the layout plugin routes were not generated (despite having src/main/resources setup along with all scala sources in src/main/scala).

Seems to work with default play layout. Glad this feature finally landed :)
Alexander Balyshyn
@limpid-kzonix

playframework/playframework#9476
I would like to work on this issue.

Can somebody do review of this issue and give advice? Can we change
scala def getOrElseUpdate[A: ClassTag](key: String, expiration: Duration = Duration.Inf)(orElse: => Future[A]): Future[A] to
scala def getOrElseUpdate[A: ClassTag](key: String, expiration: Duration = Duration.Inf)(orElse: => Future[A]): Future[Option[A]] since orElse can return a null value?

Matthias Kurz
@mkurz
@limpid-kzonix Please make your comment below the GitHub issue, we will continue from there.
Alexander Balyshyn
@limpid-kzonix

@limpid-kzonix Please make your comment below the GitHub issue, we will continue from there.

👌

Doãn Văn Điều
@dvdieu
Hi
Nice to miss you
kerr
@hepin1989
阿里新零售消息团队(手淘,天猫)招人,p6+, p7,p8 岗位,欢迎私聊。
邮箱:hepin.p@alibaba-inc.com
Albaro Pereyra
@AlbaroPereyra
Can someone translate Kerr’s message?
nafg
@nafg
Try google translate
Hmm I got this
Ali new retail news team (Hand Amoy, Tmall) recruits, p6+, p7, p8 positions, welcome to private chat.
Email: hepin.p@alibaba-inc.com
Which vaguely sounds like an attempt at recruiting for Alibaba
Igmar Palsenberg
@igmar
It is
I checked with a Chinese native, ordinary spam
nafg
@nafg
That's funny because @hepin1989 has contributed to the scala community plenty, so I wouldn't expect something like that
I could be it was posted accidentally to the wrong room. Gitter sometimes is buggy and that happens plenty
Albaro Pereyra
@AlbaroPereyra
Google translate reminds me of, garbage in garbage out. Except it’s always garbage out.
Unless you ask it to translate the same language. I don’t think anyone does that anymore.
Sreeharshareddy298
@Sreeharshareddy298

Hi I am getting weird error while compiling play application

[error] missing or invalid dependency detected while loading class file 'PlayMagicForJava.class'.
[error] Could not access type Option in object play.libs.F,
[error] because it (or its dependencies) are missing. Check your build definition for
[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
[error] A full rebuild may help if 'PlayMagicForJava.class' was compiled against an incompatible version of play.libs.F.
[error] one error found

can someone please help, how to get rid of this?

Igmar Palsenberg
@igmar
Try a full rebuild. Else check if something pulls in an older version of Play
Albaro Pereyra
@AlbaroPereyra
Not sure where to ask or suggest this, but I think it would be great if the Play Framework supported “multi site” capabilities out of the box. There are hacks out there to implement this. But it would be nice if it were supported natively. Having multiple instances of the Play Framework takes up a lot of system resources. It would make the project feasible for small projects, and we already know how great it is for scaling.
nafg
@nafg
You don't need multiple instances. I have code I might be able to share later
Albaro Pereyra
@AlbaroPereyra
The problem with that is that then it becomes like any Perl script, “there is more than way to do it”. I believe this needs to be officially supported to allow module developers the opportunity to make multi-site decisions. I know I should not compare the Play Framework to but, both WordPress and Drupal support multi-site, they have similar yet distinct module support etc. for multi-site.
nafg
@nafg
I would be more than happy if there was built in support
Arnout Engelen
@raboof
I see sbt-twirl 1.5.0 was just released - is it safe to upgrade or might that conflict with older versions of play?
Thibault Duplessis
@ornicar
Many thanks to all playframework contributors <3 You're doing an awesome job!
N.S. Cutler
@godenji
@ornicar agreed, now upgrade Lichess to play 2.7 :sweat_smile:
nafg
@nafg
2.8.0 is on maven but I don't see it mentioned anywhere?