More compact syntax?
Opened this issue · 0 comments
devurandom commented
It seems that Venia is overly verbose. I would e.g. suggest following more concise forms:
{:name [:Int 1]}
; instead of:
{:variable/name "name"
:variable/type :Int
:variable/default 1}
{:name :Int}
; instead of:
{:variable/name "name"
:variable/type :Int}
{:alias [...]}
; instead of:
{:query/data [...]
:query/alias :alias}
The context (e.g. :venia/variables
or :venia/queries
) should be able to explain to the reader the meaning of this syntax.