You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a common requirement to be able to inject the main repository interface into the implementation class of a custom repository interface. It requires a bit of care with the class naming but it has always worked fine. See e.g. this SO answer: https://stackoverflow.com/a/52892536
Since upgrading from Spring Boot 2.5.7 to 2.6.3, the latest circular reference checking in Spring complains that this is a circular reference (which it kind of is), and the only way to get the app to boot up is to turn off the circular reference checking entirely. It seems like there should be some sort of exception/special case for this Spring Data use case. Apologies if this ought to be raised against spring core/framework, it's not clear to me where this needs to be fixed.
The text was updated successfully, but these errors were encountered:
It's a common requirement to be able to inject the main repository interface into the implementation class of a custom repository interface. It requires a bit of care with the class naming but it has always worked fine. See e.g. this SO answer: https://stackoverflow.com/a/52892536
Since upgrading from Spring Boot 2.5.7 to 2.6.3, the latest circular reference checking in Spring complains that this is a circular reference (which it kind of is), and the only way to get the app to boot up is to turn off the circular reference checking entirely. It seems like there should be some sort of exception/special case for this Spring Data use case. Apologies if this ought to be raised against spring core/framework, it's not clear to me where this needs to be fixed.
The text was updated successfully, but these errors were encountered: