func WithFields(fields map[string]interface{}) ProblemExtra {
	return func(p *problem) {
		// merges extra fields into the existing fields,
		// where a conflict will choose the value from the existing fields.
		p.fields = mergemap.Merge(fields, p.fields)
	}
}
// WithFields allows extra fields to be included in the problem response.
// Any field keys that clash with those expected in the problem response will not be used.
WithFields allows extra fields to be included in the problem response.
Any field keys that clash with those expected in the problem response will not be used.
// WithFields allows extra fields to be included in the problem response . // Any field keys that clash with those expected in the problem response will not be used .
func WithFields(fields map[string]interface{}) ProblemExtra {
	return func(p *problem) {
		p.fields = mergemap.Merge(fields, p.fields)
	}
}
func WithFields ( fields map [ string ] interface { } ) ProblemExtra { return func ( p * problem ) { p . fields = mergemap . Merge ( fields , p . fields ) } }
WithFields allows extra fields to be included in the problem response.
WithFields allows extra fields to be included in the problem response .
// merges extra fields into the existing fields, // where a conflict will choose the value from the existing fields.