Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes infinite recursion when casting AnySerializable to wrong type #147

Merged
merged 3 commits into from
Sep 3, 2023

Commits on Sep 2, 2023

  1. Fixes infinite recursion when casting AnySerializable to wrong type

    If a values associated type `Serializable` , equals the values type, `toValue` would infinitely call itself.
    
    The test `testWrongCast` reproduces this and I fixed it by comparing the `nextType` with the current type.
    leoMehlig committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    403672a View commit details
    Browse the repository at this point in the history
  2. Fix indentation

    leoMehlig committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    4c10fc0 View commit details
    Browse the repository at this point in the history
  3. Remove spaces line

    leoMehlig committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    1185c4e View commit details
    Browse the repository at this point in the history