Skip to content

More compact syntax? #25

@devurandom

Description

@devurandom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions