We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
micronaut data mongo should save/update/listing nested collection.collections
I have a movie and nested movies, I want to update the nested and list all movies with nested, for example.
I've tried the same thing with spring data mongo and worked
mapping spring
@Document public record Movie( @Id ObjectId id, String title, @DBRef Set<Movie> next ) { }
mapping micronaut
@Serdeable @MappedEntity(value = "movies") public record Movie( @Id @GeneratedValue ObjectId id, @Nullable String title, @Nullable @Relation(value = Relation.Kind.ONE_TO_MANY) //tried with mappedBy = "movies" Set<Movie> next ) { }
repo https://github.com/brucemelo/micronaut-mongo-issue
macos java 21
https://github.com/brucemelo/micronaut-mongo-issue
micronautVersion=4.7.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
micronaut data mongo should save/update/listing nested collection.collections
Actual Behaviour
I have a movie and nested movies, I want to update the nested and list all movies with nested, for example.
I've tried the same thing with spring data mongo and worked
mapping spring
mapping micronaut
Steps To Reproduce
repo https://github.com/brucemelo/micronaut-mongo-issue
Environment Information
macos
java 21
Example Application
https://github.com/brucemelo/micronaut-mongo-issue
Version
micronautVersion=4.7.3
The text was updated successfully, but these errors were encountered: