metadata-store lib: make config encode/decode invertible

This commit is contained in:
Logan Allen 2021-04-02 19:18:59 +00:00
parent ea5dc47eca
commit 6fbbe2ceb7

View File

@ -197,12 +197,13 @@
[%graph p.mod]
=/ jin=json
(~(got by p.jon) %group)
?> ?=(%o -.jin)
:+ %group ~
?. ?& (~(has by p.jin) 'app-name')
?~ jin
~
?> ?=(%o -.jin)
?> ?& (~(has by p.jin) 'app-name')
(~(has by p.jin) 'resource')
==
~
=/ app-name=^json (~(got by p.jin) 'app-name')
?> ?=(%s -.app-name)
:+ ~