From 62123e577ee5d4066d53f8ad7e5ac3d2eb190430 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 18 Nov 2026 20:24:52 +0100 Subject: Securized the queries in the database with a dedicated type for the Identifiers --- test/parent.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/parent.ml') diff --git a/test/parent.ml b/test/parent.ml index 232de34..6e07c90 100644 --- a/test/parent.ml +++ b/test/parent.ml @@ -33,10 +33,11 @@ let exec : string list -> t = function let+ configuration = Configuration.Read_conf.read_string_conf stdin in let ( let+ ) opt cont = Option.map cont opt in let+ subcontent = - Configuration.Ast.get_content configuration subcontent_id + Configuration.Ast.get_content configuration + (Model.Identifier.of_string subcontent_id) in let+ v = !parent subcontent in - Model.Content.id v + Model.Identifier.to_string (Model.Content.id v) in parent_id | _ -> failwith "Invalid arguments" -- cgit v1.2.3