this can be solved with a converter. Add:
    
    
    converter fromBtoA(b: B): A =
      result = A(x = b.x)
    
    
    Run

The y field will not be stored, of course, since X is a seq[A].

Reply via email to