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

Question: empty fields #191

Open
endymion00 opened this issue Oct 26, 2016 · 0 comments
Open

Question: empty fields #191

endymion00 opened this issue Oct 26, 2016 · 0 comments

Comments

@endymion00
Copy link

Hi,
Is it possible to include the empty fields of a model?
Example:
If this data is stored on a dynamo table:

email: "email@example.com"
name: "a name"
phone: null

And the vogels finds this data.
I'd like to know if vogels can return this:

{
email: "email@example.com",
name: "a name",
phone: null
}

instead of:

{
email: "email@example.com",
name: "a name"
}

(note that phone field does not appear. And when trying to get model.get('phone') an 'undefined' is obtained)

Thank you in advance.

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