-
Notifications
You must be signed in to change notification settings - Fork 643
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
Unhandled type: Array #90
Comments
arrays are not supported (yet) - you have to override this property in resource options. But let's leave this issue - we will be implementing this in the following weeks probably |
can you explain how to override this property? I'm using the same configuration for another project (rest-hapi to be specific) . i don't mind using a workaround till it is implemented. |
having the same issue. its been 2 month since the last post that anurupr wrote and i am still getting the same error |
Apologies for my late response. For now I've decided to go with Keystone since this was blocking for me and I didn't had the time to write my own component. Hope this will be fixed in the future so I can come back. |
i was able to modify the core to handle arrays and it did work for my use case but not sure if it is production ready. i think with sufficient testing , it can be made that way. i can have a fork ready in a day or two. quite held up at the moment |
Is there an development in the issue? |
yes - I am working on it right now |
I am happy to announce that arrays support for mongoose adapter was added in AdminBro v1.1.0 with AdminBroMongoose v0.3.0 |
Thank you @wojtek-krysiak . Admin-bro is terrific. Is there a plan for adding support for objects with multiple levels of nested variables ? |
thanks! I also added nested schemas with version 1.1.0, so it should work. |
|
Hi @wojtek-krysiak |
Hi @wojtek-krysiak |
I have a couple of properties in my mongoose model that are Arrays. Right now, I get a lot of warnings:
Unhandled type: Array
. I'm not sure if I missed something in the configuration or if the way I use arrays are not supported (yet).Example from the model:
ArrayOfNumbers: [Number]
The text was updated successfully, but these errors were encountered: