Skip to content

Extend MongoId to construct from ReadOnlySpan#774

Merged
ArchangelWTF merged 2 commits into
4.1.x-devfrom
more-mongo-improvements
Jun 6, 2026
Merged

Extend MongoId to construct from ReadOnlySpan#774
ArchangelWTF merged 2 commits into
4.1.x-devfrom
more-mongo-improvements

Conversation

@ArchangelWTF

@ArchangelWTF ArchangelWTF commented Jun 5, 2026

Copy link
Copy Markdown
Member

Allows MongoId to construct from span's for non allocation purposes

Tests seem to pass and going in-game is fine even while using MongoId.Empty() rather than new MongoId(null)

@ArchangelWTF ArchangelWTF requested review from CJ-SPT and Lacyway June 5, 2026 23:45
@ArchangelWTF ArchangelWTF force-pushed the more-mongo-improvements branch from 758674c to ee70649 Compare June 5, 2026 23:50
@ArchangelWTF ArchangelWTF merged commit 8bcc5a4 into 4.1.x-dev Jun 6, 2026
3 of 5 checks passed
@ArchangelWTF ArchangelWTF deleted the more-mongo-improvements branch June 6, 2026 09: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.

2 participants