We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given smithy-build.json
{ "version": "1.0", "projections": { "source": { "transforms": [ { "name": "flattenAndRemoveMixins" } ] } } }
And a vanilla mixin model as model.smithy:
$version: "2" namespace smithy.ruby.tests @mixin structure UserIdentifiersMixin { id: String } structure UserDetails with [UserIdentifiersMixin] { alias: String }
I'm not able to get a flattened version using smithy ast -c smithy-build.json model.smithy
smithy ast -c smithy-build.json model.smithy
The text was updated successfully, but these errors were encountered:
@kstich if you don't mind since you added this.
Sorry, something went wrong.
I'm aware of the --flatten option but the config file should be respected if it's passed into the ast command.
This should be resolved when #2552 ships.
Thanks. Tangentially, if you were able to fix config support for the AST command for mixins, could you do it for prelude as well? #2500 (comment)
No branches or pull requests
Given smithy-build.json
And a vanilla mixin model as model.smithy:
I'm not able to get a flattened version using
smithy ast -c smithy-build.json model.smithy
The text was updated successfully, but these errors were encountered: