darkfrog26 on scalatest-3.2.12
Update scalatest to 3.2.12 (compare)
darkfrog26 on master
Removed scribe-slf4j dependency… (compare)
darkfrog26 on master
Update scala3-library, ... to 3… Merge pull request #95 from out… (compare)
darkfrog26 on scala3-library-3.1.2
darkfrog26 on scala3-library-3.1.2
Update scala3-library, ... to 3… (compare)
darkfrog26 on master
Update fs2-core to 3.2.7 Merge branch 'master' into upda… Merge pull request #90 from out… (compare)
darkfrog26 on fs2-core-3.2.7
darkfrog26 on fs2-core-3.2.7
Update profig to 3.3.3 Update sbt-scalajs, scalajs-com… Update cats-effect to 3.3.11 and 4 more (compare)
darkfrog26 on profig-3.3.3
darkfrog26 on master
Update profig to 3.3.3 Merge pull request #91 from out… (compare)
darkfrog26 on sbt-scalajs-1.10.0
darkfrog26 on master
Update sbt-scalajs, scalajs-com… Merge pull request #92 from out… (compare)
Someone could tell me?, please why I get this error:
exception during macro expansion: Response processing error
[error] .query ( aql"FOR p IN testChangos RETURN p" )
[error] ^
with this code:
val db = new ArangoDB(credentials = Some(Credentials("root", "jctaurys")))
case class User( name: String, age: Int, observation: String, _id: Id[User] = User.id() ) extends Document[User]
object User extends DocumentModel[User] {
override def indexes: List[Index] = Nil
override val collectionName: String = "testChangos"
override val serialization: Serialization[User] = Serialization.auto[User]
}
object database extends Graph(databaseName = "example") {
val testChangos: DocumentCollection[User] = vertex[User]
}
for {
_ <- database.init()
result <- database.testChangos
.query ( aql"FOR p IN testChangos RETURN p" )
.results.map { users => println ( users.map ( _.name ).toSet ) }
} yield { println ( result ) }
hi, someone could help me, please.
I trying to use scarango but I have this error:[error] (run-main-2) java.lang.RuntimeException: Failed to decode from { [error] [error] } [error] java.lang.RuntimeException: Failed to decode from {
This was because I was using Profig
after db.init
and I was not using lazy
then I rewrite to
1.- Profig
2.- ArangoDB
User.id("john")
collection.document.upsertOne(item)
collection.document.upsertOne(item)
@darkfrog26;
Hi, I am having this problem?
Uncaught error from thread [default-akka.actor.default-dispatcher-6]: scribe/Level$Warn$, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[default]
Do You think this is good idea?
akka {
jvm-exit-on-fatal-error = false
}
to solve my problem?
@darkfrog26
Also, what other libraries are you using? It looks like there may be a conflicting library for Scribe.
also I think so, the library that use scribe
is mycelium
@darkfrog26 ;
@elyphas are you seeing any errors before that?
I am trying to migrate a project from postgresql
to arangodb
,
libraryDependencies ++= Seq(
"com.outr" %% "scribe" % "3.5.3",
"com.typesafe.akka" %% "akka-http" % akkaVer,
"org.typelevel" %% "cats-effect" % "2.0.0",
"org.typelevel" %% "cats-core" % "2.0.0",
"org.tpolecat" %% "doobie-core" % "0.9.0",
"org.tpolecat" %% "doobie-postgres" % "0.9.0",
"org.tpolecat" %% "doobie-scalatest" % "0.9.0" % "test",
"io.suzaku" %% "boopickle" % "1.3.2",
"com.github.cornerman.mycelium" %% "mycelium" % "8395543",
"io.monix" %% "monix" % "3.2.2",
"com.outr" %% "scarango-driver" % "2.4.2",
)
trait
that is shared that defines the methods representing the end-points