README.md in avromatic-0.8.0 vs README.md in avromatic-0.9.0.rc0
- old
+ new
@@ -114,10 +114,13 @@
Custom types can be configured for fields of named types (record, enum, fixed).
These customizations are registered on the `Avromatic` module. Once a custom type
is registered, it is used for all models with a schema that references that type.
It is recommended to register types within a block passed to `Avromatic.configure`:
+Note: custom types are not currently supported on members of unions with more
+than one non-null type.
+
```ruby
Avromatic.configure do |config|
config.register_type('com.example.my_string', MyString)
end
```
@@ -246,11 +249,10 @@
### Unsupported/Future
The following types/features are not supported for generated models:
-- Generic union fields: The special case of an optional field, the union of `:null` and
- another type, is supported.
+- Custom types for members within a union.
- Reused models for nested records: Currently an anonymous model class is
generated for each subrecord.
## Development