Fix #974 – Scala 3 macro cannot find Writes for Seq[Map[String, T]]#993
Conversation
|
About binary compatibility – there is another approach we can take that would be binary compatible: keep |
|
Seems it needs to be updated about the MiMa check: https://github.com/playframework/play-json/actions/runs/8133336570/job/22224801331?pr=993#step:6:226 |
play-json/shared/src/test/scala/play/api/libs/json/WritesSharedSpec.scala
Show resolved
Hide resolved
a662ff1 to
1107a14
Compare
@cchantep Please see my comment above :)
|
As soon as we speak of 2.8, without backport, I'm fine with either excluding the MiMa warn in build or keeping the function without |
…String, T]] Moved the deprecated method `DefaultWrites.mapWrites` into `LowPriorityWrites` to get rid of the ambiguity.
1107a14 to
da637a8
Compare
Yes, that's only for 2.10. I opted for removing the implicit keyword |
Sorry I don't follow, should this fix backported to 2.10.x and be part of a 2.10.5 release? |
|
OK, if I understood correctly you want that be part of 2.10.5, so let's backport. |
|
@Mergifyio backport 2.10.x |
✅ Backports have been createdDetails
|
[2.10.x] Fix #974 – Scala 3 macro cannot find Writes for Seq[Map[String, T]] (backport #993) by @sgodbillon
Moved the deprecated method
DefaultWrites.mapWritesintoLowPriorityWritesto get rid of the ambiguity.Pull Request Checklist
Fixes
Fixes #974 – Scala 3 macro cannot find Writes for Seq[Map[String, T]]
Purpose
What does this PR do?
Background Context
Why did you take this approach?
References
Are there any relevant issues / PRs / mailing lists discussions?