Hi!

I have seen that this verification was removed.

I think that will result in beans being created even when you indicate that nonSingletons should not be included.

Can you verify if there is a reason for not adding this change?

This seems to be a bug introduced here

Our app is failing because of this. I'll try to add a test but can you take a look at it meanwhile?

Comment From: fsgonz

I've opened this PR. https://github.com/spring-projects/spring-framework/pull/28616

Comment From: fsgonz

This issue and the comment in particular may be related to this.

Comment From: sbrannen

Superseded by:

  • 28616