Conversions in spring
Read OriginalThis technical article details the process of creating a custom type converter in Spring to handle a custom 'Id' class as a controller method parameter. It covers the initial failure of a simple Converter implementation during @WebMvcTest, explains the underlying type exclusion filter, and presents alternative solutions like using @InitBinder with a PropertyEditor to make the conversion work in a test environment.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser