Right now, FromParams only works with primitive arguments. It would be nice if it could be extended to work with parameters of type List[Registrable] in which each item in the list would be deserialized recursively.
The idea for FromParams comes from AllenNLP, so their implementation would be a good starting spot (although I don't think we quite need the complexity they have).
Right now,
FromParams
only works with primitive arguments. It would be nice if it could be extended to work with parameters of typeList[Registrable]
in which each item in the list would be deserialized recursively.The idea for
FromParams
comes from AllenNLP, so their implementation would be a good starting spot (although I don't think we quite need the complexity they have).