Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toStringDefaults option #337

Merged
merged 2 commits into from
Nov 26, 2021
Merged

Add toStringDefaults option #337

merged 2 commits into from
Nov 26, 2021

Conversation

eemeli
Copy link
Owner

@eemeli eemeli commented Nov 15, 2021

Add a schema option toStringDefaults: ToStringOptions which may set overrides for the default values used for toString() options.

The intent with this is to allow for the construction of a Document which stringifies a certain way, without needing to add said options on each doc.toString() call.

@eemeli eemeli merged commit a3dfd38 into master Nov 26, 2021
@eemeli eemeli deleted the tostring-defaults branch November 26, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant