Skip to content
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

why Query#iterator return dev.morphia.query.internal.MorphiaCursor instead of dev.morphia.query.MorphiaCursor #3061

Open
CoolLoong opened this issue Jun 2, 2024 · 3 comments
Labels

Comments

@CoolLoong
Copy link

** Please ask your question and provide whatever background or supporting information you think might be relevant: **
why Query#iterator return dev.morphia.query.internal.MorphiaCursor instead of dev.morphia.query.MorphiaCursor

** Please complete the following information: **
Server Version: 7.0.9
Driver Version: 4.11.2
Morphia Version: 2.4.4

@CoolLoong
Copy link
Author

MapperOptions#Builder is still tagged deprecated and forRemoval in 2.4.4

@evanchooly
Copy link
Member

Yes. and the docs for that method list the new approach to use.

@evanchooly
Copy link
Member

As for that return type, it was a mistake on the public API. If you remove internal from the package name on your import, it should work just fine. The internal version was moved to a public package.

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

No branches or pull requests

2 participants