Is there an existing feature request for this?
Is your feature request related to a problem? Please describe.
We heavily use schema to encode request parameters in URL and to avoid adding "omitempty" in all tags would like to have an ability to make it default behavior by calling Encoder.SetDefaultOmitEmpty(true).
If no objections we can submit a patch for that.
Describe the solution that you would like.
A new method Encoder.SetDefaultOmitEmpty(true) which makes omitempty to be a default behavior.
Describe alternatives you have considered.
No response
Anything else?
No response
Is there an existing feature request for this?
Is your feature request related to a problem? Please describe.
We heavily use schema to encode request parameters in URL and to avoid adding "omitempty" in all tags would like to have an ability to make it default behavior by calling
Encoder.SetDefaultOmitEmpty(true).If no objections we can submit a patch for that.
Describe the solution that you would like.
A new method
Encoder.SetDefaultOmitEmpty(true)which makes omitempty to be a default behavior.Describe alternatives you have considered.
No response
Anything else?
No response