graph fetch
and graph publish
round trip is not a clean round trip
#469
Labels
graph fetch
and graph publish
round trip is not a clean round trip
#469
If you attempt to
rover graph publish
an identical schema to the registry, this is the output:However, if you attempt a full circle
fetch
and subsequent publish, this is the output:It would seem to me that this should be a clean operation, and the output of the
publish
should bePublished successfully [No Changes]
Observing the file, after each one of these round trips, the schema file extends by one new line. This did not happen in 0.0.9, and is a regression introduced by this PR. It seems like a hard line to walk since we definitely want newlines appended to the end if we're in the terminal, but it seems like we wouldn't want to append that same newline for redirecting to a file. Perhaps we need something akin to
print_descriptor
that isprint_content
that doesatty::is
checks for us?The text was updated successfully, but these errors were encountered: