Update to caqti 1.8.0 and dream 1.0.0~alpha4 #103
Merged
reynir
merged 3 commits from caqti-dream-update
into main
9 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'caqti-dream-update'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This is work in progress. The changes for caqti 1.8.0 are mostly mechanical:
Open
Caqti_request.Infix
Caqti_request.exec _
becomes_ ->. Caqti_type.unit
,Caqti_request.{find,find_opt,collect} _ _
becomes_ ->{!?*} _
,The above functions are deprecated in favor of the arrow functions in
Caqti_request.Infix
,connect
takes an optional argument~tweaks_version
defaulting to (1,7). Using (1,8) means foreign key constraints will be enabled for sqlite3.Update to caqti 1.8.0
Update to dream 1.0.0~alpha4
Re-introduce nice not found error pages
031c06eb33
to702d38a6cc
10 months agoRebased on main. On branch dream-error-handler I pushed a not-great error handler implementation:
fa1adb4d3f
. From my perspective we would like to detect whether the not-found response is empty (as is the default in Dream) or if we have explicitly created the not-found response. It is not super obvious to me how to best accomplish this.WIP: Update to caqti 1.8.0 and dream 1.0.0~alpha4to Update to caqti 1.8.0 and dream 1.0.0~alpha4 9 months agoa85be8730c
into main 9 months agoMerging this so it doesn't become too stale.
a85be8730c
.