Skip to content

AbstractRepositoryPopulatorFactoryBean doesn't work with ReactiveRepository [DATACMNS-1670] #2090

Open
@spring-projects-issues

Description

@spring-projects-issues

Alan Chowanda opened DATACMNS-1670 and commented

Hi Team, 

I was trying to use Jackson2RepositoryPopulatorFactoryBean to populate my database with initial data. However, it doesn't seem to work with the reactive repository (I'm using ReactiveMongoRepository).

I think it's because the RepositoryInvoker (ReflectionRepositoryInvoker) didn't subscribe to the returned Mono but return it directly (link). Maybe we can solve this by providing a custom invoker for the reactive repository here?

 

Let me know what you guys think!

 

 

 


Affects: 2.2.4 (Moore SR4)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions