Skip to content

Deprecate parameters in anticipation of Jackson 3. - #296

Merged
kqarryzada merged 1 commit into
masterfrom
DS-51420-deprecations-for-Jackson3
Apr 24, 2026
Merged

Deprecate parameters in anticipation of Jackson 3.#296
kqarryzada merged 1 commit into
masterfrom
DS-51420-deprecations-for-Jackson3

Conversation

@kqarryzada

Copy link
Copy Markdown
Collaborator

These changes primarily focus on the MapperFactory class. In Jackson 3.x, object mappers will be read only instances. Furthermore, some class names such as "JsonParser.Feature" have been changed, so our existing methods will require upkeep to facilitate customizations.

To simplify configuration management, the SCIM SDK now exposes the builder object that is used to create new object mapper instances. This stored builder instance provides more flexibility for handling configuration updates, and is an improvement over manually tracking each Jackson configuration type in our MapperFactory class.

This commit also deprecates the PATCH annotation, as JAX-RS has provided an annotation for this type for many releases now. This will be removed with the upcoming Jackson 3 upgrade.

Reviewer: dougbulkley
Reviewer: vyhhuang

JiraIssue: DS-51420

@kqarryzada kqarryzada self-assigned this Apr 24, 2026

@vyhhuang vyhhuang 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.

These changes look fine to me.

These changes primarily focus on the MapperFactory class. In Jackson
3.x, object mappers will be read only instances. Furthermore, some
class names such as "JsonParser.Feature" have been changed, so our
existing methods will require upkeep to facilitate customizations.

To simplify configuration management, the SCIM SDK now exposes the
builder object that is used to create new object mapper instances. This
stored builder instance provides more flexibility for handling
configuration updates, and is an improvement over manually tracking
each Jackson configuration type in our MapperFactory class.

This commit also deprecates the PATCH annotation, as JAX-RS has provided
an annotation for this type for many releases now. This will be removed
with the upcoming Jackson 3 upgrade.

Reviewer: dougbulkley
Reviewer: vyhhuang

JiraIssue: DS-51420
@kqarryzada
kqarryzada force-pushed the DS-51420-deprecations-for-Jackson3 branch from b848ea2 to a5a2506 Compare April 24, 2026 21:46
@kqarryzada
kqarryzada merged commit 1bfe001 into master Apr 24, 2026
6 checks passed
@kqarryzada
kqarryzada deleted the DS-51420-deprecations-for-Jackson3 branch April 24, 2026 21:49
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.

3 participants