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

use a constant for the activejob message attributes #633

Conversation

timbreitkreutz
Copy link
Contributor

@timbreitkreutz timbreitkreutz commented Oct 23, 2020

No description provided.

Co-authored-by: Tamara Temple <[email protected]>
Co-authored-by: Norma Farah <[email protected]>
@timbreitkreutz
Copy link
Contributor Author

Sorry for the noise

@timbreitkreutz timbreitkreutz deleted the try-constant-message_attributes-in-active-job-client-adapter branch October 23, 2020 14:50
string_value: JobWrapper.to_s,
data_type: 'String'
}
}.freeze
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's a good catch. constant makes sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @phstc -- We'll put together a better PR a bit later. Turns out a frozen constant messes up our code downstream.

@timbreitkreutz
Copy link
Contributor Author

Nicer version has been submitted: #635

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