Skip to content

When handling $ref metadata verify value is converter.TypeToConvert and throw JsonException #32354

Closed

Description

@ahsonkhan

Also add test cases if possible.

// todo: verify value is converter.TypeToConvert and throw JsonException? (currently no test)
state.Current.ReturnValue = state.ReferenceResolver.ResolveReferenceOnDeserialize(key);
state.Current.ObjectState = StackFrameObjectState.MetadataRefPropertyEndObject;

cc @steveharter, @jozkee

Activity

  1. added this to the 5.0 milestone on Feb 15, 2020
  2. added
    untriaged
    on Feb 15, 2020
  3. removed
    untriaged
    on Feb 15, 2020
  4. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions