Skip to content

Add proper json mapping for Trigger - #677

Merged
PierreBtz merged 5 commits into
cloudbees-oss:masterfrom
jonnybbb:master
Mar 27, 2024
Merged

Add proper json mapping for Trigger#677
PierreBtz merged 5 commits into
cloudbees-oss:masterfrom
jonnybbb:master

Conversation

@jonnybbb

Copy link
Copy Markdown
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

@PierreBtz PierreBtz left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
Contributor Author

I fixed the test cases

@PierreBtz PierreBtz left a comment

Copy link
Copy Markdown
Collaborator

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
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