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

Add beans and deserializers to @WorkerTask methods. #234

Merged

Conversation

avery1701
Copy link

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

@WorkerTask methods were not aware of spring beans and the ObjectMapper could not be configured with new deserializers. These changes permit both.

Describe the new behavior from this PR, and why it's needed
Issue #

Alternatives considered

Describe alternative implementation you have considered
The alternate implementation is to abandon @WorkerTask as there is an alternative API to implement workers.

@v1r3n
Copy link
Collaborator

v1r3n commented Aug 9, 2024

cc: @jmigueprieto

@v1r3n v1r3n merged commit 87d8dd3 into conductor-oss:main Aug 17, 2024
2 checks passed
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