Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow serializing prelude in the node serializer #955

Merged

Conversation

JordonPhillips
Copy link
Contributor

This adds a configuration option to the node model serializer that disables filtering the prelude from the output. This is mostly to enable alternate implementation to base their prelude understanding off of a JSON AST version of the prelud model (see #947).

I also noticed that the test to make sure the prelude wasn't included by default was wrong - it was still assuming the pre-1.0 ast format. So I fixed that while I was there.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@JordonPhillips JordonPhillips requested a review from a team as a code owner October 22, 2021 13:46
This adds a configuration option to the node model serializer that
disables filtering the prelude from the output. This is mostly to
enable alternate implementation to base their prelude understanding
off of a JSON AST version of the prelud model (see smithy-lang#947).
@JordonPhillips JordonPhillips force-pushed the enable-prelude-serialization branch from bf2a0d8 to 2c50d74 Compare October 25, 2021 13:39
@JordonPhillips JordonPhillips merged commit 4ebc634 into smithy-lang:main Oct 26, 2021
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.

2 participants