question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Types are being overwrritten across files in inline mode

See original GitHub issue

_ßr.Type.store.set( calls in different files are overwriting each other when they have the same id.

Suggestion: I think the singleton behavior is good. It means I can access all the types of the library using Type.store. I think they just need unique IDs.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
avin-kavishcommented, Aug 26, 2022

Yeah, I’ll add you when I get home.

On Fri, 26 Aug 2022 at 20:23, Roman Jámbor @.***> wrote:

Can I clone the repo to debug it? It’s not possible that two types has the same ID; it is generated by TypeScript so it meant that TypeScript itself has duplicit type ids and I don’t know why. That conflict is with enum item so maybe it is some special case…

— Reply to this email directly, view it on GitHub https://github.com/Hookyns/tst-reflect/issues/64#issuecomment-1228595181, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRQ7UYMEL2C7XDWMNTTUG3V3DK5DANCNFSM57VQ7CDA . You are receiving this because you authored the thread.Message ID: @.***>

0reactions
avin-kavishcommented, Aug 26, 2022

Btw once it conflicted against array iterator built in type

On Fri, 26 Aug 2022 at 20:30, Avin Abeyratne @.***> wrote:

Yeah, I’ll add you when I get home.

On Fri, 26 Aug 2022 at 20:23, Roman Jámbor @.***> wrote:

Can I clone the repo to debug it? It’s not possible that two types has the same ID; it is generated by TypeScript so it meant that TypeScript itself has duplicit type ids and I don’t know why. That conflict is with enum item so maybe it is some special case…

— Reply to this email directly, view it on GitHub https://github.com/Hookyns/tst-reflect/issues/64#issuecomment-1228595181, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRQ7UYMEL2C7XDWMNTTUG3V3DK5DANCNFSM57VQ7CDA . You are receiving this because you authored the thread.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cursor overwrite mode in vscode? - Stack Overflow
Just going through all the extensions and settings, Finally I found this solution. By uninstalling this Vim extension I was free of this...
Read more >
Switching Between Insert Mode and Overwrite Mode
Insert mode is enabled. The text cursor is a blinking vertical line. Click on the area to enable the overwrite mode. OVER. The...
Read more >
Specificity - CSS: Cascading Style Sheets - MDN Web Docs
Inline styles added to an element (e.g., style="font-weight: bold;" ) always overwrite any normal styles in author stylesheets, and therefore, ...
Read more >
Publish and Overwrite Web Layers in ModelBuilder - Esri
Learn how to publish and overwrite web layers in ModelBuilder by creating a script tool in ArcGIS Pro.
Read more >
Understanding Azure DevOps Variables [Complete Guide]
Learn just about every concept variables in this article and apply this knowledge to your Azure DevOps Pipelines to automate all the things....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found