|
|
|
|
|
by h0l0cube
1126 days ago
|
|
> Going from a pure string of SQL or JSON to a concrete type without actually executing any runtime code is pretty crazy. Elixir/Erlang might already be able to do something like this with metaprogramming. It’s certainly possible to generate and run Elixir at compile time, and map types are already a good superset for JSON objects, so a compile time JSON to map could then provide an inferrable type. I think someone more savvy with Elixir would know more. I’d certainly not something that I’ve needed. |
|