lundi 19 juillet 2021

Scala Reflection Test for class validation

I am completely new to scala. I have the below requirements for one use case.

I want to do some reflection tests for scala classes. The idea is to is compare the class properties and recursively check the class lineage between older version classes. The implication of that just needs to get the properties of both parent and child and make sure that there are no properties in the parent that do not exist (with same type info) on the child).

Could you please help with some sample examples?





Aucun commentaire:

Enregistrer un commentaire