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

Model List and Set differently #1

Open
jmcgill opened this issue Dec 27, 2017 · 0 comments
Open

Model List and Set differently #1

jmcgill opened this issue Dec 27, 2017 · 0 comments

Comments

@jmcgill
Copy link
Owner

jmcgill commented Dec 27, 2017

A lot of Formation code is now peering into Lists to see if they are lists of objects or lists of scalars. These two cases are handled very differently by schema providers.

We should model these as two different types:

  • Lists are arrays of nested objects
  • Sets are arrays of scalars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant