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

Tracechain must implements ContentInterface to be part of Body. #560

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

stephpy
Copy link
Contributor

@stephpy stephpy commented Mar 11, 2022

Description of the change

In current release (3.1.0), When TraceChain is given to Body, an exception is given because TraceChain does not implements ContentInterface.

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Related issues

@danielmorell danielmorell self-requested a review March 11, 2022 13:56
Copy link
Collaborator

@danielmorell danielmorell left a comment

Choose a reason for hiding this comment

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

Thank you for your submitting this update! Could we make one small change? Let's also include the SerializerInterface. Otherwise we will be running into some deprecation warnings.

class TraceChain implements SerializerInterface, ContentInterface

Could you add a new commit that includes both interfaces? Thank You!

Copy link
Collaborator

@danielmorell danielmorell left a comment

Choose a reason for hiding this comment

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

Never mind my previous comment. I'm an idiot. I forgot ContentInterface extends SerializerInterface.

Your update is perfect the way it is!

@danielmorell danielmorell merged commit d2fde4e into rollbar:master Mar 11, 2022
@stephpy
Copy link
Contributor Author

stephpy commented Mar 23, 2022

You're welcome :) 🍻

@stephpy stephpy deleted the hotfix/tracechain branch March 23, 2022 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants