Replace folder boolean with dedicated submessage.

Reporter: JoshDreamland  |  Status: open  |  Last Modified: November 30, 2020, 05:43:37 AM

Move the child field into the new submessage. Update code, correcting a couple mistakes. Calling set_folder(false) would have cleared the contents of the resource. Now has_folder is the proper check (or type_case comparison).

This'll certainly break RGM's CI right now.

codecov[bot]  
>Codecov Report

Merging #2170 (dd3d8ce) into master (06d6739) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2170   +/-   ##
=======================================
  Coverage   33.03%   33.03%           
=======================================
  Files         197      197           
  Lines       19059    19059           
=======================================
  Hits         6296     6296           
  Misses      12763    12763           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06d6739...dd3d8ce. Read the comment docs.

Please sign in to post comments, or you can view this issue on GitHub.