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

Merge bosk-bson back into bosk-mongo #39

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

prdoyle
Copy link
Collaborator

@prdoyle prdoyle commented Jan 25, 2025

After trying to use bosk-bson outside bosk-mongo, it is very much not as useful as I had thought. The BSON representation is really useful only for MongoDB's specific semantics, where field order is preserved; and, moreover, parsing JSON into BSON is an extraneous step when Jackson already offers a mutable JsonNode representation of JSON.

I'll leave it in its own package for now, to make it easier to split out again if we ever have a need to do so.

Merging this back before publishing a release us from ending up with a permanent bosk-bson library out in the wild for now.

After trying to use bosk-bson outside bosk-mongo, it is very much not as
useful as I had thought. The BSON representation is really useful only
for MongoDB's specific semantics, where field order is preserved; and,
moreover, parsing JSON into BSON is an extraneous step when Jackson
already offers a mutable JsonNode representation of JSON.

I'll leave it in its own package for now, to make it easier to split out
again if we ever have a need to do so.

Merging this back before publishing a release us from ending up with a
permanent bosk-bson library out in the wild for now.
@prdoyle prdoyle enabled auto-merge January 25, 2025 16:04
@prdoyle prdoyle merged commit ee395e0 into boskworks:develop Jan 25, 2025
1 check passed
@prdoyle prdoyle deleted the merge-back-bson branch January 25, 2025 16:15
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.

1 participant