Open jjangga0214 opened 1 year ago
i dont think such a field would be a good idea, but maybe a callback function that runs custom code to extend the list? that way no multiple fields are necessary for each struct type and extra conditions can be added.
also i dont think it is currently possible with a callback function, until #87 is merged which refactored the generation to use a vector instead of static format!("{derive1}{derive2}")
Maybe sometimes custom derives would be needed, IMHO.
How about this? Thanks.