Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unique token for helper lookups #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chadhietala
Copy link
Contributor

@chadhietala chadhietala commented Jun 4, 2022

I noticed that currently helpers are created on "first one wins" semantics because the map is keyed off of name. This PR fixes the issue by creating a unique token from SourceLocation to make sure we don't drop helpers on the floor.

I'm still vetting these changes locally.

@vercel
Copy link

vercel bot commented Jun 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
structured-types ✅ Ready (Inspect) Visit Preview Jun 9, 2022 at 1:39PM (UTC)

@chadhietala chadhietala changed the title Use uuid for helper lookups Use unique token for helper lookups Jun 4, 2022
@chadhietala chadhietala marked this pull request as ready for review June 6, 2022 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant