Closed sam-goodwin closed 4 years ago
Not sure why your definition defines this column as a string?
The type there is explicit: 'One' | 'Two' | 'Three' | 'Four' | 'Five'
.
Should developers create another record class to represent the projection, or can we support an array of columns to project?
I see array of columns as the ideal approach.
As per https://github.com/punchcard/punchcard/issues/103, we want to support indexes on DynamoDB tables. How should we do this?
I think the desired experience should be similar to how the table is created where the developer only needs to provide a tuple of the columns to index:
@Birowsky's example:
What about projections? Should developers create another record class to represent the projection, or can we support an array of columns to project?