zhangshenghang commented on PR #2251:
URL: https://github.com/apache/hertzbeat/pull/2251#issuecomment-2221864360

   > hi, yes here the old version upgrade no need modify the application.yml 
due the code has config too. Is that true?
   
   
   
   > > Can application.yml be left unmodified? Unless it's a user-definable 
item, it's recommended that it be implemented in the code so that users can 
avoid some problems when upgrading
   > 
   > hi, yes here the old version upgrade no need modify the application.yml 
due the code has config too. Is that true? @zhangshenghang
   
   The code modified in this PR is implemented using 
'Jackson2OrderMapperBuilderCustomizer', and can run normally without setting 
this value in the configuration file. Not setting the value of 'fail on unknown 
properties' has the same effect as setting the value of' fail on unknown 
properties: false '. Only when set to true will the above error be prompted.
   ```
   deserialization:
   fail-on-unknown-properties: false
   ```
   
   If we want to be compatible with older versions, we can remove 
'fail-on-unknown-properties: false'
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to