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

Allows sub-key like "field.subfield" #1

Closed
cognitom opened this issue Nov 1, 2015 · 1 comment
Closed

Allows sub-key like "field.subfield" #1

cognitom opened this issue Nov 1, 2015 · 1 comment

Comments

@cognitom
Copy link
Owner

cognitom commented Nov 1, 2015

For example, if the collection has fields like this:

{
  "_id": 0,
  "name": "Mike",
  "address": {
    "zip": "1550033",
    "city": "Setagaya"
  }
}

I'd like to make it possible to specify the sub-field in momyfile.json:

{
  "_id": "number",
  "name": "string",
  "address.zip": "string",
  "address.city": "string"
}
@cognitom cognitom changed the title Object Allows sub-key like "field.subfield" Nov 1, 2015
@cognitom
Copy link
Owner Author

cognitom commented Nov 7, 2016

This was already landed on c797877

@cognitom cognitom closed this as completed Nov 7, 2016
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