zio / zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
https://zio.dev/zio-http
Apache License 2.0
800 stars 403 forks source link

Fix ScalaJS Compilation by Removing JVM-specific java.util.Objects References in PathCodecPlatformSpecific #3155

Closed asr2003 closed 1 month ago

asr2003 commented 1 month ago

The ScalaJS compilation fails due to references to JVM-specific methods in PathCodecPlatformSpecific.scala. This fix removes the dependency on java.util.Objects and replaces it with Scala-compatible checks to ensure compatibility with compilation in the ScalaJS

/claim #3142 Closes #3142

asr2003 commented 1 month ago

@987Nabil Not sure why two workflows closed and skipped and except that everything seems fine