Skip to content

Conversation

@chrisvxd
Copy link

This PR updates the documentation in uniqueId() to reflect the different counters used for each prefix by using clearly distinct numbers.

The current documentation implies that all prefixed IDs are incremented on the same counter, incrementing from uniqueId('contact_'); // contact_104 to uniqueId(); //105. This behaviour was changed in #3644 with the introduction of the prefix map, and so this documentation could be misleading to users.

@jdalton jdalton closed this Sep 16, 2023
@jdalton jdalton added the issue bankruptcy Closing the issue/PR to start fresh label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation issue bankruptcy Closing the issue/PR to start fresh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants