-
Notifications
You must be signed in to change notification settings - Fork 12
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
automatic model creation #36
Comments
Please add step to reproduce the issue. Thanks. |
@mrbatista In Loopback I have a "Topic" Model. Now we get this "JSON circular reference error" when trying to query a topic. An Auto-Creation of the collections ("if collection not exists, then create collection") would be very helpful :) |
@mrbatista The automatic model creation is already implemented. So this issue can be closed. Just create a file in database/migrate.js with this content:
Every connector has a automigrate function which you can call with this command. Just run it with node database/migrate.js and there you go! |
In order to avoid JSON circular reference error when model not found in ArangoDB (see issue 29 below), automatic model creation option should be implemented. This feature can also simplify agile development for fast prototyping.
#29
The text was updated successfully, but these errors were encountered: