Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Jan 2, 2026

Updates the JobSerializer#klass method to return LinkedinUrlValue::Regular instead of LinkedinUrlValue::Base. Rails job serialization uses an index hash where Base (an abstract class) will never match, so the serializer now returns the concrete Regular class. Also bumps version to 0.2.3.

Notes

Link to Devin run: https://app.devin.ai/sessions/13e09c0d06574583a7bf39fc3f68ddca
Requested by: Grant (grant@nexl.io)

- Update klass method to return LinkedinUrlValue::Regular since Rails job
  serialization uses an index hash where Base (abstract class) never matches
- Bump version to 0.2.3
- Update CHANGELOG.md

Co-Authored-By: Grant <grantspeelman@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@grantspeelman grantspeelman requested a review from Copilot January 2, 2026 15:52
@grantspeelman grantspeelman self-assigned this Jan 2, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the JobSerializer#klass method to return the concrete LinkedinUrlValue::Regular class instead of the abstract LinkedinUrlValue::Base class, ensuring proper Rails job serialization. The version is bumped to 0.2.3.

  • Fixed JobSerializer#klass to return Regular instead of Base for proper serialization
  • Updated version from 0.2.2 to 0.2.3
  • Added changelog entry documenting the fix

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
linkedin_url_value.gemspec Bumps gem version to 0.2.3
lib/linkedin_url_value/job_serializer.rb Changes klass method to return Regular instead of Base class
CHANGELOG.md Adds entry for version 0.2.3 documenting the serializer fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@grantspeelman grantspeelman enabled auto-merge (squash) January 2, 2026 15:53
@grantspeelman grantspeelman merged commit 211e2f8 into main Jan 2, 2026
2 checks passed
@grantspeelman grantspeelman deleted the devin/1767359346-fix-job-serializer-klass branch January 2, 2026 15:53
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.

1 participant