Skip to content
Snippets Groups Projects
Unverified Commit 7941372e authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Make token serializing/deserializing async (#8427)

The idea is that in future tokens will encode a mapping of instance to position. However, we don't want to include the full instance name in the string representation, so instead we'll have a mapping between instance name and an immutable integer ID in the DB that we can use instead. We'll then do the lookup when we serialize/deserialize the token (we could alternatively pass around an `Instance` type that includes both the name and ID, but that turns out to be a lot more invasive).
parent a0a1ba69
No related branches found
No related tags found
No related merge requests found
Showing
with 115 additions and 59 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment