Hi,
I want to put my JSON Serializers into a dry-system
container. Those Serializers have a constructor that requires a value (model) and are used as a Class
in Rails controllers:
format.json do
render json: model, serializer: MySerializerClass
end
Therefore I’d like to load them as a Class
with the auto_register
method and (call: false
). Is there currently a way to do this?