Skip to content

IEnumerable`1 for ContentType PropertyType #9

Open
@FrancisGroleau

Description

@FrancisGroleau

If we have a ContentType like so:

public class MyContentType
{
    public IEnumable<MyPropertyType> MyPropertyTypeList {get; set;}
}

and we use the graph source client:

    _graphSourceClient.ConfigureContentType<MyContentType>()
                .Field(f => f.MyPropertyTypeList , IndexingType.PropertyType)

when the client is generating the type definition through
SourceConfigurationModel method AddContentTypeField

It will add to the fieldConfiguration for the MappedType IEnumerable`1
Instead of [MyPropertyType]

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