Closed ximon18 closed 4 months ago
The current division feels somewhat artificial so in that regard I concur. However, that is a much bigger change than a compilation fix so perhaps add it to the TODO list rather than make the change in this PR.
Fair. How about just moving zonefile::parsed
to zonetree::parsed
? Having types like StoredDname
in zonefile
feels wrong to me.
I wonder if it would be better to make
zonefile::parsed::Zonefile
the actual zone builder (i.e., replacezonetree::in_memory::ZoneBuilder
with it? The two are closely connected, anyway. Merging them may make it less likely to build a broken tree?