Skip to content

Application exception on latest version #231

@tasselchof

Description

@tasselchof

Hi,

I encountered this exception while attempting to retrieve users from the database:

TypeError raised in file /home/dev/domains/api-dev.app/vendor/doctrine/persistence/src/Persistence/Reflection/RuntimeReflectionProperty.php line 61:
Message: Cannot assign resource to property Api\App\Entity\AbstractEntity::$uuid of type ?Ramsey\Uuid\UuidInterface

It's standard application, except I removed link to the roles (trying to build basic graphql api - to get users together with table properties for my frontend).

I am using ramsey/uuid-doctrine with dbal:4.0 though (your repo has a limitation dbal:3.0).

I'll probably figure it our myself, but if you have an idea where the issue might be I would be grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions