Spring ConversionService adding Converters

后端 未结 9 776
别那么骄傲
别那么骄傲 2020-12-31 03:47

I searched for the below problem, but couldn\'t find an answer.

I want to use spring\'s conversion service by writing my custom converter that implements org.spri

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 04:41

    Came across a very interesting way to do this in Stackoverflow - https://stackoverflow.com/a/12760579/204788

    Using a feature called Collection merging, you can essentially do this:

    
        
            
                
           
       
    
    

提交回复
热议问题