implementationHints.md 744 Bytes
Newer Older
Günter Hipler's avatar
Günter Hipler committed
1
2
3
4
5
6
7
8
9
10
11
OaiController

der Response type wird im Moment nach String umgesetzt - ein bisschen unschön. Eleganter wäre ein witable 


      /*
      todo: make Writable for Node[Seq] so toString isn't necessary
      [info] Compiling 4 Scala sources to /home/swissbib/environment/code/swissbib.repositories/memoriav/gitlab/services/oai/target/scala-2.13/classes ...
[error] /home/swissbib/environment/code/swissbib.repositories/memoriav/gitlab/services/oai/app/controllers/OaiController.scala:44:9: Cannot write an instance of Seq[scala.xml.Node] to HTTP response. Try to define a Writeable[Seq[scala.xml.Node]]
[error]       Ok(response.createResponse).as("text/xml")
*/
12
13
14
15
16



#### alte scala2 enumerations ansehen
https://pedrorijo.com/blog/scala-enums/