-
Notifications
You must be signed in to change notification settings - Fork 21
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
Relation with association can not be finalized #26
Comments
This adapter doesn’t support associations yet. So this is expected to fail. It should have its own schema and custom implementation of individual association types. |
Thank you @solnic ! |
yes, until somebody adds association API 😅 |
ОК) Should the association API combines only relations of the same adapter (mongo) ? Or it's possible to have cross-adapter associations? With |
@v-kolesnikov yes you can have cross-adapter associations and yes it will require |
Relation can not be finalized if it has at least one defined association.
It can be fixed by defining self own
finalize_associations!
method for ROM::Mongo::Schema or inheriting this class from ROM::Memory::Schema.The text was updated successfully, but these errors were encountered: