Skip to content

Link that can reference multiple content types is not being mapped #357

@georgezubov

Description

@georgezubov

Affected version: 8.3.0 and 8.2.1

Issue:

Hello, we have following content type structure:

public class Type1
{
    public IContentType[] Items { get; set; }
}

public class Type2: IContentType
{
    public Type3[] Items { get; set; }
}

public class Type3
{
    public IContentType Field { get; set; }
}

public interface IContentType {}

When we put object of Type2 in the items of Type1, Field of Type3 (which can be the reference to a multiple content types) is always deserialized as null.

Workaround for us is rolling back to version 7.6.1, there everything works as expected.

Here is a redacted version of the API response - test.json

Could you please take a look and help us to resolve this issue? Let me know if any additional information is required. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions