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

Support native schema for Map #138

Closed
2 tasks
jdegoes opened this issue Oct 22, 2021 · 2 comments · Fixed by #142
Closed
2 tasks

Support native schema for Map #138

jdegoes opened this issue Oct 22, 2021 · 2 comments · Fixed by #142
Labels
feature New library features good first issue Good for newcomers ziohackathon

Comments

@jdegoes
Copy link
Member

jdegoes commented Oct 22, 2021

Currently there is no native support for maps. However, some protocols and formats have a native representation for maps (e.g. DynamoDB). Consequently, there is a strong advantage to having a native map type, distinct from Sequence.

  • Add new Schema.Map case class, which stores a schema for key, stores a schema for value, and extends Schema[Map[K, V]].
  • Support new schema type for all existing codecs and other operations that match on schema

@thinkharderdev Contender for ZIO Hackathon??

@jdegoes jdegoes changed the title Support Map data type Support native schema for Map Oct 22, 2021
@thinkharderdev thinkharderdev added feature New library features ziohackathon good first issue Good for newcomers labels Oct 22, 2021
@pierangeloc
Copy link
Contributor

I'd like to work on this one

@thinkharderdev
Copy link
Contributor

I'd like to work on this one

Awesome! Let me know if you have any questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New library features good first issue Good for newcomers ziohackathon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants