Skip to content

Conversation

@surpher
Copy link
Owner

@surpher surpher commented Oct 31, 2021

📝 Summary of Changes

Enhances the RandomUUID example generator by allowing the user to set the format of the generated UUID. It sets the rules that are then encoded and passed to the Mock Server. Mock Server re-generates the UUID using the set format.

Resolves #70

⚠️ Items of Note

The initial UUID value that is set during RandomUUID object init is throwaway value. It is only set so that the object being encoded is valid.

🧐🗒 Reviewer Notes

💁 Example

ExampleGenerator.RandomUUID(format: .simple)

🔨 How To Test

/

@surpher surpher added the enhancement New feature or request label Oct 31, 2021
@surpher surpher changed the title feat: Enhanced RandomUUID example generator feature: Enhanced RandomUUID example generator Oct 31, 2021
@surpher surpher changed the title feature: Enhanced RandomUUID example generator feat: Enhanced RandomUUID example generator Oct 31, 2021
@surpher surpher merged commit e65e7ed into main Oct 31, 2021
@surpher surpher deleted the feat/randomuuid-format branch October 31, 2021 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve RandomUUID example generator

2 participants