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.

Customization of operations id

See original GitHub issue

Story

As a client I often look at webscoket messages and cannot easily identify which subscription result is coming - or even distinguish it from recent mutation/queries.

image

So I want possibility to generate operation ids based on some metadata. Even just operationName + some random will be much better for debugging. payload.query.split(/[({]/)[0] + some random will be even better.

Acceptance criteria

  • client is able to form operation ids based on subscribe payload (using generateID) or even just set it in payload directly.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Amareiscommented, Sep 16, 2022

That’s sweet! I think such customization even can be referenced in docs.

image image

1reaction
enisdenjocommented, Sep 16, 2022

🎉 This issue has been resolved in version 5.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application Insights - How to set Custom Operation Id
Yes, I'm using .NEt Core HttpClient to make the call from 1st API to the 2nd APIs. If I'm changing the Operation Id...
Read more >
Specifying a custom operation and its access control item - IBM
Click Configure System > Manage operations. In the Operation Level choices, select Global Level. Then, create a new operation as required by your...
Read more >
Identity model customization in ASP.NET Core | Microsoft Learn
This article describes how to customize the underlying Entity Framework Core data model for ASP.NET Core Identity.
Read more >
The Four Faces of Mass Customization
Each videotape is assigned an identification number that is used to print customized packaging materials, including cassette labels, mailing labels, and other ...
Read more >
Employee ID Badges: Custom Photo Identification Cards
Looking for employee ID card printing services? We offer custom-made company photo badges for employee identification! ✓ Get started with free designs!
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