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 proper json mapping for Trigger #677

Merged
merged 5 commits into from
Mar 27, 2024
Merged

Conversation

jonnybbb
Copy link
Contributor

The trigger category isn't properly handled as the JsonProperty annotation is missing for this camel case property name

PierreBtz
PierreBtz previously approved these changes Mar 14, 2024
Copy link
Collaborator

@PierreBtz PierreBtz left a comment

Choose a reason for hiding this comment

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

indeed, thanks for the fix!

@PierreBtz PierreBtz assigned PierreBtz and unassigned PierreBtz Mar 14, 2024
@PierreBtz PierreBtz added bug breaking Breaking change labels Mar 14, 2024
@PierreBtz
Copy link
Collaborator

Marking as breaking since a Trigger persisted with a previous version will lose those two fields when deserialised.

I saw that a test is failing, I'll try to have a look.

@jonnybbb
Copy link
Contributor Author

I fixed the test cases

Copy link
Collaborator

@PierreBtz PierreBtz left a comment

Choose a reason for hiding this comment

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

lgtm thanks!

@PierreBtz PierreBtz merged commit 1e8067d into cloudbees-oss:master Mar 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants