Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Fix Guid.Empty instead of new Guid() #632

Merged
merged 1 commit into from
Jul 26, 2019
Merged

Fix Guid.Empty instead of new Guid() #632

merged 1 commit into from
Jul 26, 2019

Conversation

labilbe
Copy link
Contributor

@labilbe labilbe commented Jul 1, 2019

Guid.Empty is cleaner than new Guid().

new Guid() generates a pre-filled Guid. Guid.Empty returns an empty Guid (full of zeros).
@mythz mythz merged commit 83ce0e7 into ServiceStack:master Jul 26, 2019
@labilbe labilbe deleted the patch-1 branch July 26, 2019 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants