Skip to content

output: merge base/input/output into a single state.cue - #76

Merged
aluzzardi merged 1 commit into
mainfrom
output-no-merge
Jan 27, 2021
Merged

aluzzardi merged 1 commit into
mainfrom
output-no-merge

Conversation

@aluzzardi

Copy link
Copy Markdown
Contributor

Exporting base/input/output separately causes merge errors.

For instance, foo: string | *"default foo" gets serialized as {"foo":"default foo"}, which will fail to merge if output contains a different definition of foo.

This change temporarily merges the 3 streams together before serializing.

Fixes #51

Exporting base/input/output separately causes merge errors.
For instance, `foo: string | *"default foo"` gets serialized as
`{"foo":"default foo"}`, which will fail to merge if output contains
a different definition of `foo`.

This change temporarily merges the 3 streams together before
serializing.

Fixes #51

Signed-off-by: Andrea Luzzardi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--input comes "too late" and cannot override default values

1 participant