Lach
Lach
TODO: - Replace string-based input with lexer made for rowan-parser - If is not possible to use lexer from rowan-parser, then try to make Input automatically eat whitespace with mini-lexer...
Usually, when I need to get examples on using the code, I look into tests, there is one for basic initialization and using std.native https://github.com/CertainLach/jrsonnet/blob/master/tests/tests/std_native.rs But I agree tests are...
I don't quite understand what do you want. Provide `Typed` implementation for chrono::Datetime, which will automatically convert it to String for jsonnet code, and back?
Does it fail in some public library? It works for me on the prometheus-operator/kube_prometheus repo, which this output looks like.
Anyway, the issue here is code like this is run: ```jsonnet local v = null; v(1) ``` `std.prune` should not cause this, as it is implemented in the same way...
std.prune is now implemented as builtin, feel free to reopen if the issue persists.
Возможно имеет смысл в релизнутые типы бекпортнуть, чтобы пользователям проблем не доставлять? В polkadot apps это точно вызывает непонятную ошибку, в js вроде как всё работает, но не факт
Этот фикс правильный, однако Даниил говорит что с ним у веб команды какие-то проблемы, нужно разбираться.
Разобрались, isOptional ставит пустое значение для типа, т.е пустой массив С Даниилом обсудили - нужно трактовать пустой список полей как получение всех полей, потому что другие варианты в подобной модели...
Сами пишем, бекпорт не выйдет, нужно в ноде чуть поведение поменять. Завтра обговорим.