aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 16:11:04 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 16:11:04 -0600
commitbe3bb5300d30a19d22b68db07292d03dc16499d3 (patch)
treea90ec7088d3d837101ef2a886be4402c04635415
parent353394783ae8503363ea751f81a5316ba7c4b3c9 (diff)
downloadfixgen-be3bb5300d30a19d22b68db07292d03dc16499d3.tar.gz
fixgen-be3bb5300d30a19d22b68db07292d03dc16499d3.tar.bz2
fixgen-be3bb5300d30a19d22b68db07292d03dc16499d3.zip
Update TODO list
-rw-r--r--lib/ast_types.ml1
-rw-r--r--lib/fixture.ml1
-rw-r--r--lib/lexer.mll1
3 files changed, 1 insertions, 2 deletions
diff --git a/lib/ast_types.ml b/lib/ast_types.ml
index 6a02040..fdcafd2 100644
--- a/lib/ast_types.ml
+++ b/lib/ast_types.ml
@@ -64,7 +64,6 @@ type ast_table_relation =
| PTable of string * int * Fixture.t list
| CTable of (string * string) list * string * int * (Fixture.compiled -> Fixture.compiled list -> Fixture.t list)
(** parent (name, referenced id), row, child_name, fixture builder given a parent name and list of options *)
- (* TODO: Support multiple relations *)
let table_name = function
diff --git a/lib/fixture.ml b/lib/fixture.ml
index 21d77cf..4985624 100644
--- a/lib/fixture.ml
+++ b/lib/fixture.ml
@@ -88,6 +88,7 @@ let%test "random_value_in_list" =
(* TODO: Support email *)
(* TODO: Support "hashed" password *)
+(* TODO: Support dates *)
(* TODO: Support variables using @ *)
let rec replicate element n =
diff --git a/lib/lexer.mll b/lib/lexer.mll
index e733666..0fb7f7c 100644
--- a/lib/lexer.mll
+++ b/lib/lexer.mll
@@ -15,7 +15,6 @@ let id = ['a'-'z' 'A'-'Z' '-' '_']*
let newline = '\r' | '\n' | "\r\n"
let many_newline = newline+
-(* TODO: Support _ and - in identifiers *)
rule read =
parse
| "uuidv4" { UUIDV4 }