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

Error: emails - not supported type [Object] #1

Open
kevohagan opened this issue Jan 13, 2015 · 2 comments
Open

Error: emails - not supported type [Object] #1

kevohagan opened this issue Jan 13, 2015 · 2 comments

Comments

@kevohagan
Copy link

I just tried to use this package from the example of simpleschema for the Meteor.users collection

as here : https://github.com/aldeed/meteor-collection2/blob/master/README.md#attaching-a-schema-to-a-collection

It would be nice to get a working example with some basic collections.

This package is really really promising!! very excited about this :)
Great job!

@comerc
Copy link
Owner

comerc commented Jan 13, 2015

Sorry, recursion for [Object] fields does not supported now.

You may use autoform: omit: true for exclude emails

data = AutoForm.Fixtures.getPreData(ss)
# Then fill emails data here
data["emails"] = {} 
data = AutoForm.Fixtures.normalizeData(data)

@kevohagan
Copy link
Author

Okay! thats cool, didnt know you could do that :)

On 13 January 2015 at 21:36, comerc [email protected] wrote:

Sorry, recursion for Object fields does not supported now.

You may use autoform: omit: true for exclude emails

data = AutoForm.Fixtures.getPreData(ss)# Then fill emails data here
data["emails"] = {} data = AutoForm.Fixtures.normalizeData(data)


Reply to this email directly or view it on GitHub
#1 (comment)
.

Kevin O'Hagan
@kevohagan
+0034685245319
Palma de Mallorca,
Spain

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

2 participants