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

[Backport 2.x] Require MediaType in Strings.toString API (#6009) #6414

Merged
merged 2 commits into from
Feb 21, 2023

Commits on Feb 21, 2023

  1. Require MediaType in Strings.toString API (opensearch-project#6009)

    Strings.toString is tightly coupled to XContentType.JSON which blocks
    modularizing foundation classes from the server module to the core library. This
    change refactors the Strings.toString API to accept a generic MediaType such that
    the toString implementation detail is encapsulated to the :server module.
    
    Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
    nknize committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    a5fd954 View commit details
    Browse the repository at this point in the history
  2. update untouched files on backport

    Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
    nknize committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    1ec4dfb View commit details
    Browse the repository at this point in the history