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
Hi,
I am getting this error when I have embedded documents.
my schema file looks like this where I have a labelSchema and customerSchema has a field which is array of labelSchema:
when I try to create a document of type customer in application database I get the error above,
this has something to do with embedded schema for embedded docs, if I just defined the CustomerSchema with labels as nested path instead
it works,
code to try to create a customer document is this:
The text was updated successfully, but these errors were encountered:
Hi,
![Screen Shot 2022-02-27 at 11 39 41 AM](https://user-images.githubusercontent.com/42154723/155891210-28d1ea6b-46f5-4411-a7bd-6c30fa5380e6.png)
I am getting this error when I have embedded documents.
my schema file looks like this where I have a labelSchema and customerSchema has a field which is array of labelSchema:
![Screen Shot 2022-02-27 at 11 41 39 AM](https://user-images.githubusercontent.com/42154723/155891285-228f4559-2f2c-47af-a4ea-b0da66461711.png)
when I try to create a document of type customer in application database I get the error above,
this has something to do with embedded schema for embedded docs, if I just defined the CustomerSchema with labels as nested path instead
it works,
code to try to create a customer document is this:
![Screen Shot 2022-02-27 at 11 43 47 AM](https://user-images.githubusercontent.com/42154723/155891362-02c8672d-f165-4dc8-bb6e-9226e5e33742.png)
The text was updated successfully, but these errors were encountered: