hi,

i'm trying to fix issue #5856 (that json.to() is not marshaling the base 
object). When i look into the macro it calls getType. Everything then looks 
fine (to me). It seems that the child type does not know about its base type.

Is there a way to also get the base object atributes?

OR

can i get the base typedescr from a child object somehow?
    
    
    # The object that i marshal for testing
    type
      DmrsRequest* = ref object of RootObj
        rpcId*: RpcId
      DmrsRequestLogin*  = ref object of DmrsRequest
        username*: string
        password*: string
    

The macro operates only on username, password. I want to also be able to 
operate on rpcId

Reply via email to