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

prepare for release #69

Merged
merged 10 commits into from
Nov 28, 2024
Merged

prepare for release #69

merged 10 commits into from
Nov 28, 2024

Conversation

cpiemontese
Copy link
Contributor

No description provided.

@cpiemontese cpiemontese requested a review from a team as a code owner November 25, 2024 08:30
@cpiemontese cpiemontese marked this pull request as draft November 25, 2024 10:49
@cpiemontese
Copy link
Contributor Author

This is broken because I don't know how to fix the move problem at the moment, there is a PR open that could address it but there's also probably a way to go around it which I can't come up with right now

/// Send a custom event as a title and a body
/// NOTE: Try to minimise variation in tag values (avoid things like timestamps or ids). See note in lib docs!
#[macro_export]
macro_rules! event_with_options {
Copy link

Choose a reason for hiding this comment

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

WDYT about extending the event! Instead of creating a new one? It could receive the EventOptions as an argument and pass it to $crate::Datadog::event_with_options instead of $crate::Datadog::event.

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 was debating the two options, I think it may make sense to expose just one macro

@cpiemontese cpiemontese marked this pull request as ready for review November 28, 2024 10:50
@cpiemontese cpiemontese requested a review from ivoreis November 28, 2024 10:50
Copy link

@ivoreis ivoreis left a comment

Choose a reason for hiding this comment

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

Nice one 👍🏼

@cpiemontese cpiemontese merged commit 45cae55 into master Nov 28, 2024
7 checks passed
@cpiemontese cpiemontese deleted the prepare-release branch November 28, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants