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

Added support for enums when a JsonSerializerContext is used #2723

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Oct 5, 2023

  1. Added try-catch to GetDataContractFor so we provide more information …

    …about the actual Type that was causing a generation failure.
    Doug Clutter authored and Doug Clutter committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ff198e0 View commit details
    Browse the repository at this point in the history
  2. Changed JsonConverterFunc to take a dynamic value instead of an objec…

    …t value. Doing this allows the use of enums when using a TypeInfoResolver (e.g. - JsonSerializerContext).
    Doug Clutter authored and Doug Clutter committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    c66abfb View commit details
    Browse the repository at this point in the history
  3. Updated unit test project to net7.0 because TypeInfoResolver was adde…

    …d to this release.
    Doug Clutter authored and Doug Clutter committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    71877f7 View commit details
    Browse the repository at this point in the history
  4. Added unit tests that show JsonConverterFunc(object value) fails when…

    … a TypeInfoResolver is used. However, JsonConverterFunc(dynamic value) works.
    Doug Clutter authored and Doug Clutter committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    b8d2ef8 View commit details
    Browse the repository at this point in the history
  5. Changed image used by appveyor from "Visual Studio 2019" to "Visual S…

    …tudio 2022" so .NET 7 would be available when running tests.
    Doug Clutter authored and Doug Clutter committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    1b4e040 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Removed empty test that I added but didn't need.

    Doug Clutter authored and Doug Clutter committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    73e6144 View commit details
    Browse the repository at this point in the history