Skip to content

.Include and .IncludeMany does not work with Guid keys in Postgres databases #311

Open
@ldias91

Description

@ldias91

Hi,

When i use include method in postgres database with primary keys as guid i get the following error:

operator does not exist: uuid = text

I think the problem is here

.Select(x => x[include.LocalKey].ToString())

instead of
.Select(x => x[include.LocalKey].ToString())

may be
.Select(x => x[include.LocalKey]);

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