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
Hello, I have created an interceptor, but I found that it conflicts with the order of other interceptors. The other interceptors are also imported through automatic configuration. Therefore, my current approach is to exclude the automatically configured files and add the relevant intercepters myself. However, I feel that this method is not elegant. Can we add sorting support for interceptors so that the interceptors we add can be ordered as desired?
Probably just need to reorder the interceptors when adding them in the InterceptorChain class.
now my enviroment is mybatis-spring-boot-starter
The text was updated successfully, but these errors were encountered:
Hello, I have created an interceptor, but I found that it conflicts with the order of other interceptors. The other interceptors are also imported through automatic configuration. Therefore, my current approach is to exclude the automatically configured files and add the relevant intercepters myself. However, I feel that this method is not elegant. Can we add sorting support for interceptors so that the interceptors we add can be ordered as desired?
Probably just need to reorder the interceptors when adding them in the
InterceptorChain
class.now my enviroment is mybatis-spring-boot-starter
The text was updated successfully, but these errors were encountered: