Skip to content

Changes

Started by Mike Dawson
Started 1 yr 7 mo ago
Took 2 min 40 sec

Summary

  1. Update handling of missing server side parameters. (commit: b5afa11) (details)
Commit b5afa116618a83c5571345d74a029c1555390633 by Mike Dawson
Update handling of missing server side parameters.

When a query parameter is not sent by the client (e.g. older version of client, newer version of server) this would have thrown an exception before.

Query parameter will now use the default value for type if not sent by client (e.g. 0, false, null).
(commit: b5afa11)
The file was modifieddoor-runtime/src/commonMain/kotlin/com/ustadmobile/door/http/DoorJsonRequest.kt (diff)
The file was modifieddoor-testdb/src/commonMain/kotlin/db3/DiscussionPostDao.kt (diff)
The file was modifieddoor-runtime/src/jvmMain/kotlin/com/ustadmobile/door/ktor/KtorDoorJsonRequestAdapter.kt (diff)
The file was modifieddoor-compiler/src/main/kotlin/com/ustadmobile/lib/annotationprocessor/core/DoorHttpServerProcessor.kt (diff)
The file was modifiedbuild.gradle (diff)