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

Expose FromGuid, AsGuid, and FromMap, and make AsGuid more efficient #73

Merged
merged 4 commits into from
Feb 17, 2024

Conversation

charlesroddie
Copy link
Contributor

@charlesroddie charlesroddie commented Jan 15, 2024

  • Expose FromGuid and AsGuid. Currently this must be done via FromObject(object value) and ToObject<Guid>, resulting in type tests and trimming incompatibility in each case.
  • Expose FromMap and FromOrderedMap to be able to create Maps cleanly without use of Add on CBORObject (which is not type-safe and is trimming-incompatible).
  • Make CBORObject -> Guid more efficient by avoiding a string conversion

@charlesroddie charlesroddie changed the title Expose FromGuid and AsGuid Expose FromGuid and AsGuid and make AsGuid more efficient Jan 15, 2024
@charlesroddie charlesroddie changed the title Expose FromGuid and AsGuid and make AsGuid more efficient Expose FromGuid, AsGuid, and FromMap, and make AsGuid more efficient Jan 22, 2024
@peteroupc peteroupc merged commit b5bd38b into peteroupc:master Feb 17, 2024
5 checks passed
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