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

feat(go): handle unhandled orphanShapes #761

Open
wants to merge 15 commits into
base: main-1.x
Choose a base branch
from

Conversation

rishav-karanjit
Copy link
Member

@rishav-karanjit rishav-karanjit commented Jan 16, 2025

Issue #, if available:

Description of changes:

  • Enable orphan shape test model for Go
  • Support map. list, boolean and blob orphan shapes
  • Generate shape conversion for orphan shapes if needed

For extra credit this is the diff in MPL from this branch https://github.com/aws/aws-cryptographic-material-providers-library/pull/1225/files. This PR in MPL created only to run CI and see diff

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rishav-karanjit rishav-karanjit changed the title handle unhandled orphanShapes WIP: handle unhandled orphanShapes Jan 16, 2025
@rishav-karanjit rishav-karanjit changed the title WIP: handle unhandled orphanShapes feat(go): handle unhandled orphanShapes Jan 17, 2025
@rishav-karanjit rishav-karanjit marked this pull request as ready for review January 17, 2025 20:04
@rishav-karanjit rishav-karanjit requested a review from a team as a code owner January 17, 2025 20:04
Copy link
Contributor

@lucasmcdonald3 lucasmcdonald3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- Thanks for including the MPL diff!
I left a comment on the MPL diff, I can approve once I understand what's going on there.

github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.1
github.com/dafny-lang/DafnyStandardLibGo v0.0.0
github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2
github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see TestModels are using Crypto Tools' MPL's StandardLibrary. Did we run this be @robin-aws ? I just want to make sure everyone's aware of the weird dependency graph going around.

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