Skip to content

Shore should setup a validated API contract between the CLI and Renderer #58

Open
@eyal-mor

Description

@eyal-mor

Currently missing parameters are not easily testable.
During manifestation of JSonnet, params are read from Render.yaml and passed to the render.

Missing parameters aren't debuggable due to the amount of abstraction introduced by Shore.

The error produced when running with an empty empty render.yml file:

ERRO[0000] Renderer.Render returned an error RUNTIME ERROR: Field does not exist: application
	/Users/liberms/code/platform/testshore/main.pipeline.jsonnet:5:20-38	object <anonymous>
	During manifestation
RUNTIME ERROR: Field does not exist: application
	/Users/liberms/code/platform/testshore/main.pipeline.jsonnet:5:20-38	object <anonymous>
	During manifestation

Metadata

Metadata

Assignees

No one assigned

    Labels

    DevXDeveloper Experience relatedRenderer-JSONNETThe issue is related to the built-in Jsonnet RendererShore-CLIRelated to the Shore-CLI visualization layer (the CLI itself)bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions