-
Notifications
You must be signed in to change notification settings - Fork 195
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
Model simple.smithy should emit a DANGER event #1489
Comments
I think this comes from smithy and not from smithy-rs |
@jdisanti might have stumbled on this too |
When I run the
However, no I think this may be a Smithy bug. |
Filed smithy-lang/smithy#1387 on Smithy. |
Fixed by: smithy-lang/smithy#1525 |
The model simple.smithy should emit a DANGER event like
caused by this line.
The DANGER event is not emitted and we don't even get a warning.
I have found a very weird way to make smithy emit the DANGER event:
The python subfolder of
codegen-server-test
contains a folder calledmodel
which is a symlink to themodel
folder of its parentcodegen-server-test
. Changing this symlink into a real folder and linking the models inside it triggers the DANGER event when running./gradlew codegen-server-test:python:assemble
.I think you can imagine my surprise when this happened.
I am not sure if this is an issue with smithy-rs or smithy itself or a combination of the two.
Repro:
./gradlew codegen-server-test:python:assemble
The text was updated successfully, but these errors were encountered: