From bc78bea63b7c75e8a9d222dc86fb75ed293a2242 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 21 Nov 2026 12:22:50 +0100 Subject: Renamed the module Typ into Types --- lib/query/encoder.ml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/query/encoder.ml') diff --git a/lib/query/encoder.ml b/lib/query/encoder.ml index 5e5f402..4c8d528 100644 --- a/lib/query/encoder.ml +++ b/lib/query/encoder.ml @@ -304,18 +304,18 @@ module DataToCaqtiValues = Map (struct | Model.Data.None -> (* The provider does not have any value for this property, use the default value*) - Model.Typ.default_value content_type + Model.Types.default_value content_type | Model.Data.V (field_type', value) -> ( (* For the single-column fields handled here, the DB and code representations coincide — match the field type to prove it *) - let check (type x) (ct : (x, x, Model.target) Model.Typ.t) : x = - match Model.Typ.eq_ocaml ct field_type' with + let check (type x) (ct : (x, x, Model.target) Model.Types.t) : x = + match Model.Types.eq_ocaml ct field_type' with | Some Equal -> value | None -> raise TypeMismatch in match content_type with - | Model.Typ.MultiReference _ -> raise TypeMismatch - | Model.Typ.Text as ct -> check ct - | Model.Typ.Integer as ct -> check ct - | Model.Typ.MonoReference _ as ct -> check ct)) + | Model.Types.MultiReference _ -> raise TypeMismatch + | Model.Types.Text as ct -> check ct + | Model.Types.Integer as ct -> check ct + | Model.Types.MonoReference _ as ct -> check ct)) end) -- cgit v1.2.3