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.

Just a tracking task from review.

Important:

  • Conform to Go Style Guide 😃 comments, splitting up of files, we should have a Golang eng do a pass with Timo
  • DOCS - we should have extensive examples, justification about why this is better than alternatives
  • Have someone who is not Timo who is also an expert in JS do a deep dive, probably Paul, optimally get some external feedback
  • Update LICENSE to to 2021-2022 ✅

Random comments:

  • Evaluate moving private/protoplugin to new repository protoplugin-es? Probably not to start but worth a conversation.
  • Move cmd/internal to internal.
  • See comments on https://github.com/bufbuild/protobuf-es/pull/35, tldr get rid of options if possible ✅
  • Update go.mod to at least 1.17 (not really needed but) ✅
  • Rename GOOG to GOOGLE_ in the Makfile 😃 ✅

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:16 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
paul-sachscommented, May 3, 2022

Interesting. The actual use case I ran into this on was updating the state of a given user:

setSomeState((prev) => new User({
  ...prev,
  deactivated: true,
}));

After this operation, the nested createTime field was missing those properties and in fact failed instanceof checks as well. I assume the root cause is similar since the spread operator would have set the Timestamp instance as it was, similar to new Timestamp().

My case above was obviously just a toy case to reproduce the more complicated version.

1reaction
timostammcommented, May 3, 2022

It’s PlainMessage<T>. Thanks for bringing this up, it should have more visible documentation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cleanup Definition & Meaning - Merriam-Webster
1 of 3. noun. clean·​up ˈklēn-ˌəp. 1. : an act or instance of cleaning. The children helped with the cleanup. 2. : an...
Read more >
CleanUp! icon Free disk space & protect your privacy
CleanUp ! is a powerful and easy-to-use application that removes temporary files created while surfing the web, empties the Recycle Bin, deletes files...
Read more >
CleanUp - Free download and software reviews
CleanUp is a fast free file cleaner that clears your system of certain junk files, but it doesn't ask permission before deletion.
Read more >
Cleanup: Phone Storage Cleaner 4+ - App Store
This app is available only on the App Store for iPhone. Cleanup: Phone Storage Cleaner 4+. Clean, Delete Duplicate Photos.
Read more >
Cleanup.pictures - Remove objects, people, text and defects ...
Remove unwanted objects from photos, people, text, and defects from any picture for free. It's extremely easy in just a few clicks with...
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