Taro L. Saito
Taro L. Saito
It's convenient to have a standard pretty print method, and mask `@secret` ```scala import wvlet.airfame.pp.PrettyPrint._ case class A(id: Int = 1, name: String) pp(A(1, "leo")) ---------- A: - id: 1...
If the byte code of all test cases exceeds the 64k method-size limit of JVM, 'Method too large' compilation error can happen, especially in Scala 3. To avoid this, each...
Here are the roadmap items for 2024, version 24.x.x series. - [Misc Tickets](https://github.com/wvlet/airframe/milestone/6) # New Features - [x] Scala Native Support (for Scala Native 0.5.x, Scala 3) - Airframe Book...
```scala case class A(p1: Int, p2:String) A(1, "hello") shouldBe A(2, "hellx") ``` The above matcher should show the case class diff like: ``` [diff] A( p1: 1 -> 2, p2:...
To get the current context test name at ease without binding it to the test https://wvlet.org/airframe/docs/airspec#pro-tips
``` Error: Cross origin http://localhost forbidden at dispatchError (/Users/leo/work/git/airframe/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19) at Object.validCORSHeaders (/Users/leo/work/git/airframe/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:75:5) at receiveResponse (/Users/leo/work/git/airframe/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:794:19) at Request. (/Users/leo/work/git/airframe/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:658:43) at Request.emit (node:events:513:28) at Request._processResponse (/Users/leo/work/git/airframe/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:228:12) at ClientRequest. (/Users/leo/work/git/airframe/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:101:12) at Object.onceWrapper (node:events:628:26)...
HttpMutiMap uses a linear search for adding a new entry. It deteriorates the performance with O(H x N) where H is the header size and N is the number of...
When updating RPC method parameters, recompilation of classes defining `RxRouter.add[...Impl]` is always required (e.g., via clean; compile). Otherwize, NoSuchMethodError can be thrown like this: ``` server[ERROR] java.lang.NoSuchMethodError: (RPC response type)...
When rewriting queries, we usually lost the exact node location. In some specific cases, NodeLocation should be copied explicitly.