Comments (2)
That does sound like a bug. I'm on the road at the moment so it'll be a bit until i can confirm but it looks like you've done most of the leg work already.
from morphia.
Thanks for the quick reply Justin!
The fix itself might not be entirely straight forward though. I mean, the code inside shouldSerialize()
is correct in itself, but it should probably not add it as an unset
operation in some cases.
So for the storeNulls
and storeEmpties
it should convert to an unset
but not for the annotations. But as the shouldSerialize()
method returns a boolean there is no way for that code to know if it should add the unset operation or not.
from morphia.
Related Issues (20)
- Implement aggregation operator $querySettings
- Implement aggregation operator $or
- Implement aggregation operator $size
- Implement aggregation operator $not
- Implement aggregation operator $jsonSchema
- Implement aggregation operator $geometry
- Why are my Morphia Cursors stacking up ? HOT 1
- Implement query operator $or
- Implement query operator $size
- Implement query operator $not
- Implement query operator $jsonSchema
- Implement query operator $geometry
- Morphia Quering is not working as expected. version 2.4 HOT 1
- Update DiscriminatorFunction API to return the value rather than set it directly
- When Adding @Deprecated please add alternatives to use. HOT 1
- Does morphia has live cursor ? Morphia 2.4.x HOT 1
- Morphia query should also return Documents / json and not just mapped objects. HOT 1
- Morphia Halts and Prints Old Creator Warning When Finding and Mapping to Class HOT 4
- Unable to update to Spring Boot 3.3.x HOT 4
- I am trying to map my persistable package using morphiaConfig.packages(list). But it is not able detect it. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from morphia.