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.

Add `schemaName` field to MessageEvent

See original GitHub issue

When a panel receives message events for subscribed topics, it might need to take different code paths depending on the type of the received message.

For example - the Image panel needs to know if the message it received should be processed as a ROS ImageMarkerArray or a foxglove.ImageAnnotations message. The schemaName determines which fields are expected and their semantics.

The existing array of message events does not convey this information as only ROS message datatypes were previously supported.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
amacneilcommented, Feb 8, 2022

We use schemaName in both mcap and ws-protocol, so I vote we start using that term consistently everywhere, and clean up places in our UI + docs (and preferably our codebase too) where other terms like datatype are used indiscriminately.

0reactions
amacneilcommented, Oct 7, 2022

I have no memory of making this comment but apparently I am internally consistent over 6 months.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use CloudEvents v1.0 schema with Event Grid - Microsoft Learn
Describes how to use the CloudEvents schema for events in Azure Event Grid. The service supports events in the JSON implementation of ...
Read more >
Custom Fields | Elastic Common Schema (ECS) Reference [8.5]
Adding custom fields carries a small risk of conflicting with a future ECS field. ... a proper name is a relatively safe approach...
Read more >
Event message structure - Amazon Simple Storage Service
The minor version is incremented if Amazon S3 adds new fields to the event structure. This might occur if new information is provided...
Read more >
MessageEvent - Web APIs - MDN Web Docs - Mozilla
The MessageEvent interface represents a message received by a target object. This is used to represent messages in:.
Read more >
Creating Custom Schema Categories
It may be necessary to create custom schema categories in Ensemble. ... Use segment and field path names in BPL, DTL, and routing...
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