Commit 61402ee4 authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

"code" goes in metadata

parent 4d8d11c2
......@@ -495,7 +495,7 @@ module G_graph = struct
(* check that there is no unknown fields *)
List.iter
(function
| "meta" | "nodes" | "edges" | "order" | "code" -> ()
| "meta" | "nodes" | "edges" | "order" -> ()
| x ->
Error.warning "[G_graph.of_json%s] Unknown field `%s` (See https://grew.fr/doc/json)" (sent_id_text ()) x
) (keys json);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment