insert a new second rule for tagged union discovery
1. if the field name ends in "data" and there is a field with the same prefix ending in "type", the field ending in "type" is the tag. 2. if the field name ends in "_target" and the previous field has the same prefix and no suffix, the previous field is the tag. 3. if the field is not the last field in the structure, the next field is the tag.develop
parent
b0699a1b5e
commit
cc2c732dd5
Loading…
Reference in New Issue