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

US133384: Force all Context.Id values to string if 'id' exists #38

Conversation

mostlyfabulous
Copy link
Contributor

US133384: Telemetry Service > Enforce schema validation

@coveralls
Copy link

coveralls commented Jan 7, 2022

Coverage Status

Coverage remained the same at 86.458% when pulling 5b2f132 on awong/US133384-make-telemetry-event-construction-more-robust into 366ce71 on master.

@@ -27,7 +27,7 @@ export class EventBody {
this._context = {};

if (id) {
this._context.Id = id;
this._context.Id = id.toString();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were we planning on making this change to the Object and Target too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, would future proof us in my opinion.

@mostlyfabulous mostlyfabulous merged commit 5bff39c into master Jan 19, 2022
@mostlyfabulous mostlyfabulous deleted the awong/US133384-make-telemetry-event-construction-more-robust branch January 19, 2022 17:48
@ghost
Copy link

ghost commented May 30, 2022

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants