You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nobrainer is not supporting this use case. From the roadmap:
Support embedded documents. Embedding should be done by using the type system like regular fields.
You can declare the birth field as a Hash but you can't control the data type within the hash.
There is another way of doing it, which is of using a Birth model and adding a has_one :birth to your current model. Then the Birth model can describe the fields and their types.
I have a document like:
I would like to declare the field
birth["date"]
as Date type. How can I do that?The text was updated successfully, but these errors were encountered: