-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: WithErrorOnEmptyRoots(bool)
this allows us to keep backward compatibility and explicitly enable both behaviors, which means code that expects error can be migrated into implicit flag over time
- Loading branch information
Showing
2 changed files
with
89 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do we need to keep this state around on the car reader?
we only use the option in the constructor itself, so it seems preferable to have a transient config struct for the option to modulate, rather than holding onto the boolean for no reason.