-
Notifications
You must be signed in to change notification settings - Fork 53
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
smithy-go does not provide support for @restJson1 protocol trait #354
Comments
Actually, I think this problem might be core to the issue we're facing. Besides the VSCode editor complaining that it cannot resolve the We've tried to implement these ourselves, but with no luck due to poor documentation. Any advice on how to go about solving this problem? This is a blocker for us. |
Thanks for reaching out @jabalsad. Currently the With that said, I think its reasonable to investigate moving the The AwsRestJson1.java is the implementation of this protocol in the v2 SDK's codegen, which is basically just RestJsonProtocolGenerator. The |
I managed to build the Unfortunately, the generated code has a few dependencies on internal packages of the AWS SDK package, e.g.
That makes the generated code pretty much unusable at the moment. On the other hand, it looks like maybe the effort required to generate code that's decoupled from the AWS SDK might not be that big? |
This is true for every aws protocol right now, moving to #458. |
When generating Go code, I get this error:
I opened this issue: smithy-lang/smithy#1101 with the smithy repo, but I was redirected here.
The solution proposed was to:
The text was updated successfully, but these errors were encountered: