Adds an abstract way of adding specific patches before actually generating the registry provider. New (future) patches can easily be added by implementing RecordPatcher, which will then be applied automatically when regenerating the provider.
This way we do not have to expose internal types or change the immutable aspect of the registry (even though this can and should still be considered as a separate change).
Addresses #77 at the code generation level.
Adds an abstract way of adding specific patches before actually generating the registry provider. New (future) patches can easily be added by implementing
RecordPatcher
, which will then be applied automatically when regenerating the provider. This way we do not have to expose internal types or change the immutable aspect of the registry (even though this can and should still be considered as a separate change).