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

codegen: Introduce the concept of a NullableIndex and Pointable Index #232

Merged
merged 8 commits into from
Nov 15, 2020

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Oct 30, 2020

Adds a new KnowedgeIndex implementation GoPointableIndex this index declares when a shape should be a pointer or value type in Go code. Updates the SDK's code generation so that all non-sparse list and maps are rendered with value members instead of pointers. This null-ability applies to number and boolean members to that are not explicitly decorated as boxed.

TODO

  • cleanup TODO docs that are not relevant any more.

Fixes #128
Fixes #127
Fixes #149

@jasdel jasdel force-pushed the denseListMap branch 7 times, most recently from bf2950d to deb1e58 Compare November 10, 2020 22:36
@jasdel jasdel force-pushed the denseListMap branch 2 times, most recently from 5a86eac to 2d2cb3f Compare November 10, 2020 23:40
@jasdel jasdel marked this pull request as ready for review November 11, 2020 00:57
@jasdel jasdel merged commit 7f45e6a into aws:master Nov 15, 2020
@jasdel jasdel deleted the denseListMap branch November 15, 2020 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants