aboutsummaryrefslogtreecommitdiff
path: root/lib/models/snowflake.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2018-12-12 15:00:46 -0700
committerAdelyn Breelove <[email protected]>2018-12-12 15:00:46 -0700
commit260ccd9960b852b9c69b88e9840d5a8b22bb8e1d (patch)
tree4a41c663b3b719b89a20052c6ce4efbbbd2420f8 /lib/models/snowflake.ml
parentAdd retry on connect fail logic (diff)
downloaddisml-260ccd9960b852b9c69b88e9840d5a8b22bb8e1d.tar.xz
disml-260ccd9960b852b9c69b88e9840d5a8b22bb8e1d.zip
Work on event dispatch and add model derives
Diffstat (limited to 'lib/models/snowflake.ml')
-rw-r--r--lib/models/snowflake.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/snowflake.ml b/lib/models/snowflake.ml
index ed80b62..ab723a7 100644
--- a/lib/models/snowflake.ml
+++ b/lib/models/snowflake.ml
@@ -1,7 +1,7 @@
type t = {
id: int;
as_string: string;
-}
+} [@@deriving yojson]
let to_int t = t.id
let to_string t = t.as_string