Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

simplify validation errors #104

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

simplify validation errors #104

wants to merge 2 commits into from

Conversation

pomdtr
Copy link
Contributor

@pomdtr pomdtr commented May 3, 2023

Our current validation error message are hard to craft, and still do not provide a good user experience.

Error: Spacefile
  L Micro 'static-app'
    L Micro 'static-app'
      L Micro 'static-app'
        L missing properties: 'serve'

Ideally, we want something like like this

image

However, it is not trivial to achieve. In the meantime, I think this is a good middleground:

Error: validation failed:
L /micros/static-app: missing properties: 'serve'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants