Skip to content

Conversation

@mtdowling
Copy link
Member

Now Documents are all created using Document.of, Document.ofNumber, and Document.ofObject. These methods remove the old methods like createString, createNumber, createStringMap, etc. ofNumber and ofObject are separate to avoid boxed numbers and booleans from going through them rather than of(boolean) for example.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Now Documents are all created using Document.of, Document.ofNumber, and
Document.ofObject. These methods remove the old methods like
createString, createNumber, createStringMap, etc. ofNumber and ofObject
are separate to avoid boxed numbers and booleans from going through them
rather than of(boolean) for example.
@mtdowling mtdowling merged commit b847023 into main Dec 5, 2024
3 checks passed
@mtdowling mtdowling deleted the document-of branch December 6, 2024 21:04
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.

2 participants