I'm still trying to figure out how to use CB. I really like it so far but i'm not sure how to do a few things.
1. When you define a new model and it's attributes. ( -module(foo, [Id, SomeString::string(), ...]) ) is there a way to indicate if the attribute is optional? Right now if i don't use an attribute and save the record to the database. I'll get a null in the field. I would prefer if it just wasn't available. 2. How do you deal with nested objects? how do you define a nested record and how would you get those nested values into your templates? So far all i've found was this: get(Path::string()) -> Value Returns a deeply nested value described by a dot-separated Path (e.g. "puppy.mother.name") Thanks for any help! -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/84d994d3-94b1-4324-8178-04f0e16c7de9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
