Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Update to Morphia 2.0 #127

Open
lotzk opened this issue Apr 21, 2020 · 0 comments
Open

Update to Morphia 2.0 #127

lotzk opened this issue Apr 21, 2020 · 0 comments

Comments

@lotzk
Copy link
Contributor

lotzk commented Apr 21, 2020

In the settings-service we subtype the Setting class to allow for various kinds of settings. Since Morphia, which is used to persist such settings, can't find all subtypes of a specific type, we had to maintain a list of all knowns subtypes and manually go over the according collections to merge the output.

Morphia in version 2.0 does now support querying a whole subtree of a class hierarchy (see MorphiaOrg/morphia#22) and we should update to that version once it is out of beta.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant