-
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
add support for nullable struct members when generating AWS SDKs #2916
Changes from 32 commits
9c17050
b1c7ec5
0f27839
81f428b
633c257
266f54f
86dc322
a5565a3
2d20462
acff7bd
976f3a2
397c4ab
80bb768
a44ae99
916265a
761c1e4
36b7127
3cf8288
7e464cc
d2b2c55
505c778
f0e4a1f
ae6a636
491ca43
66fbddb
c4b9958
dac4679
b0c63c9
5e6f6b9
94c8dbb
cd5e33c
1374e95
e661075
09c02f7
b417977
0bffcc0
eee07db
58cf184
7a4fd41
e75ad16
99de898
969e32f
7de1892
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,25 +28,29 @@ async fn create_table(client: &Client, table_name: &str) { | |
KeySchemaElement::builder() | ||
.attribute_name("year") | ||
.key_type(KeyType::Hash) | ||
.build(), | ||
.build() | ||
.unwrap(), | ||
Comment on lines
+31
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we change |
||
) | ||
.key_schema( | ||
KeySchemaElement::builder() | ||
.attribute_name("title") | ||
.key_type(KeyType::Range) | ||
.build(), | ||
.build() | ||
.unwrap(), | ||
) | ||
.attribute_definitions( | ||
AttributeDefinition::builder() | ||
.attribute_name("year") | ||
.attribute_type(ScalarAttributeType::N) | ||
.build(), | ||
.build() | ||
.unwrap(), | ||
) | ||
.attribute_definitions( | ||
AttributeDefinition::builder() | ||
.attribute_name("title") | ||
.attribute_type(ScalarAttributeType::S) | ||
.build(), | ||
.build() | ||
.unwrap(), | ||
Comment on lines
48
to
+53
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. side note: I wonder if we want this API to accept There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. put another way, what if users could pass a builder directly? |
||
) | ||
.provisioned_throughput( | ||
ProvisionedThroughput::builder() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
side note, might be nice to replace these existential types with a trait for clarity