Skip to content

[MS-418] Don't include projectConfigurationUpdatedAt if it's empty#683

Merged
BurningAXE merged 1 commit into
release/2024.1.0from
MS-418-projectConfigurationUpdatedAt-should-not-be-sent-if-it-s-empty
Apr 22, 2024
Merged

[MS-418] Don't include projectConfigurationUpdatedAt if it's empty#683
BurningAXE merged 1 commit into
release/2024.1.0from
MS-418-projectConfigurationUpdatedAt-should-not-be-sent-if-it-s-empty

Conversation

@BurningAXE
Copy link
Copy Markdown
Contributor

More info in the ticket. Opting for the much simpler solution to avoid more work and potential problems arising from changing the type of the field.

@BurningAXE BurningAXE requested review from a team, TristramN, alex-vt, alexandr-simprints, luhmirin-s, meladRaouf and ybourgery and removed request for a team April 17, 2024 16:47
@cla-bot cla-bot Bot added the ... label Apr 17, 2024
val device: ApiDevice,
val databaseInfo: ApiDatabaseInfo,
val location: ApiLocation?,
@JsonInclude(Include.NON_EMPTY)
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.

I think you could add a test to ensure that you have what you want, and if people remove the annotation something will fail

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea! Added a test.

@BurningAXE BurningAXE force-pushed the MS-418-projectConfigurationUpdatedAt-should-not-be-sent-if-it-s-empty branch from af54461 to 8ae336f Compare April 18, 2024 10:49
@sonarqubecloud
Copy link
Copy Markdown

@BurningAXE BurningAXE merged commit 440e844 into release/2024.1.0 Apr 22, 2024
@luhmirin-s luhmirin-s deleted the MS-418-projectConfigurationUpdatedAt-should-not-be-sent-if-it-s-empty branch April 22, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants