Robert Jaros
06/12/2021, 2:01 AMRestClient
and fullstack interfaces move to fetch API
With jQuery gone, all ajax()
calls will need to be replaced with fetch
. This forces also some changes to the public RestClient
API.awesome-bootstrap-checkbox
with pretty-checkbox
library (as a module)
The old library doesn't support Bootstrap 5. But I'm also considering just dropping this feature at all and just keep Bootstrap 5 styles (including "switch" component).state
parameter (there are really lots of them - and it's a lot of mostly unused code).
The bind()
extension functions will be used instead.
The same goes to FormPanel
- remove add()
and migrate to bind()
.
I'd like also make some cleanups with state modules. Move all state functions and state components (observables) to a module (kvision-state
) and rename kvision-event-flow
module to kvision-state-flow
or kvision-state-coroutines
.start
method).noWrappers
parameter. I plan to invert the default. It will probably break some existing layouts and will require manual migration.kotlinx-datetime
dependency instead of KVision custom datetime types for fullstack interfaces.
I'm not sure how stable the library is at the moment.Big Chungus
06/12/2021, 7:27 AMRobert Jaros
06/12/2021, 9:17 AMBig Chungus
06/12/2021, 10:33 AMRobert Jaros
06/12/2021, 11:08 AMTomas Kormanak
06/15/2021, 8:26 AMktor-client
?Robert Jaros
06/25/2021, 5:10 PMTomas Kormanak
06/25/2021, 5:17 PMinterface Filter {}
interface RequestFilter: Filter {
fun filter(request: Request):Request
}
interface ResponseFilter: Filter {
fun filter(response:Response): Response
}
something like ^^
It might also handle serialization/deserializationclient = RestClient(..., baseUrl="<https://api.example.com>")
client.remoteRequest("/users")
instead of concatening url in every request:
client.remoteRequest(BASE_URL + "/users")