Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

add card dip UUID so identical cards always look different #59

Open
benadida opened this issue Jan 21, 2020 · 0 comments
Open

add card dip UUID so identical cards always look different #59

benadida opened this issue Jan 21, 2020 · 0 comments

Comments

@benadida
Copy link
Contributor

Problem: if two cards are identical and are swapped at just the right time, they will look like the same card to a consumer of this module. That's no good.

Solution: every time a card is dipped and read, this module should assign a random UUID identifying this "card dip instance" and include it in the result value of a /get. That way, if a card is removed and reinserted, or replaced with an identical card, the consumer can make a decision about what to do, as opposed to assuming the card never moved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant