Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Adds support for List and Map DynVal.#197

Open
angerman wants to merge 1 commit intoaristidb:masterfrom
angerman:feature/dynamodb/deserialize-map-list
Open

Adds support for List and Map DynVal.#197
angerman wants to merge 1 commit intoaristidb:masterfrom
angerman:feature/dynamodb/deserialize-map-list

Conversation

@angerman
Copy link
Copy Markdown
Contributor

@angerman angerman commented Apr 8, 2016

In /pull/177, @puffnfresh added support for

  • Null
  • Lists (L)
  • Map (M)

where Lists are represented as DList (Vector DValue) and
Maps as DMap (Map Text Dvalue).

This adds DynVal instances for Vector and Map Text to
allow them to be used when parsing a structure into records.

In aristidb/pull/177, @puffnfresh added support for

- Null
- Lists (L)
- Map (M)

where Lists are represented as `DList (Vector DValue)` and
Maps as `DMap (Map Text Dvalue)`.

This adds `DynVal` instances for `Vector` and `Map Text` to
allow them to be used when parsing a structure into records.
@angerman
Copy link
Copy Markdown
Contributor Author

angerman commented Apr 8, 2016

This replaces /pull/192, fixing up the commit messages.

@aristidb
Copy link
Copy Markdown
Owner

Can you please add short comments to the code explaining the difference between the [], Set, Vector and Map instances? Because I do find that somewhat confusing.

(Of course, partially the confusingness stems from the fact that Amazon first tried to use a simplistic data model and then added more complex features, while leaving the simplistic form distinct and present.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants