summaryrefslogtreecommitdiff
path: root/lib/model/field.mli
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-18 20:24:52 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-18 21:57:48 +0100
commit62123e577ee5d4066d53f8ad7e5ac3d2eb190430 (patch)
treef569686630681a9eceb2685f69b55fe5a2bac17c /lib/model/field.mli
parent7087a0c2c84e796e474784cbd28d4a4e574cf2c0 (diff)
Securized the queries in the database with a dedicated type for the Identifiers
Diffstat (limited to 'lib/model/field.mli')
-rw-r--r--lib/model/field.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/model/field.mli b/lib/model/field.mli
index 8e1432a..0bcb209 100644
--- a/lib/model/field.mli
+++ b/lib/model/field.mli
@@ -15,10 +15,10 @@ val create :
?required:bool ->
?validation:validation list ->
?criteria:string list Dsl.t ->
- string ->
+ Identifier.t ->
'ref t
-val name : _ t -> string
+val name : _ t -> Identifier.t
(** Name (identifier) for the field *)
val label : _ t -> textI18n