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: add default value None for optional members #305

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

ajewellamz
Copy link
Contributor

Issue #, if available: 133

Description of changes:

I tested this on the MPL, and there seem to be other changes at the head of smithy-dafny that break the MPL, but these changes seem to be correct.

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

@ajewellamz ajewellamz requested a review from a team as a code owner December 4, 2023 21:46
Copy link
Contributor

@texastony texastony left a comment

Choose a reason for hiding this comment

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

Approving, but it concerns me that there was no change to any Test Model.
I suggest leaving #133 open, with a "Needs Tests" label.

(If we do not have such a label or an equivlent, we should make one.)

@ajewellamz ajewellamz merged commit 91c0948 into main-1.x Dec 4, 2023
122 checks passed
@ajewellamz ajewellamz deleted the optional-default branch December 4, 2023 22:18
ShubhamChaturvedi7 pushed a commit to ShubhamChaturvedi7/smithy-dafny that referenced this pull request Apr 24, 2024
* feat: add default value None for optional members
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