Skip to content

IEnumerable`1 for ContentType PropertyType #9

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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