WithCompatible sets schema evolution compatibility mode
(enabled bool)
| 119 | |
| 120 | // WithCompatible sets schema evolution compatibility mode |
| 121 | func WithCompatible(enabled bool) Option { |
| 122 | return func(f *Fory) { |
| 123 | f.config.Compatible = enabled |
| 124 | f.compatibleSet = true |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | // WithMaxTypeFields sets the maximum field count limit for schema definition deserialization |
| 129 | func WithMaxTypeFields(size int) Option { |
no outgoing calls