dynamodb-net-core-sample icon indicating copy to clipboard operation
dynamodb-net-core-sample copied to clipboard

Question regarding object composition

Open FrankV01 opened this issue 6 years ago • 0 comments

Is there a reason that you put State in to object StateMap rather than just putting all the properties in to AlexAudioState? Is this required by DynamoDB or is this your design choice?

[DynamoDBTable("AlexaAudioStates")]
    public class AlexaAudioState
    {
        [DynamoDBHashKey]
        public string UserId { get; set; }
        public StateMap State { get; set; }

    }

FrankV01 avatar Apr 13 '18 19:04 FrankV01