Skip to content

Question: how to make property non-required in GraphQl schema #2353

@CvekCoding

Description

@CvekCoding

Hello!

I have an entity with method like addToLogs(LogEntity $logEntity).
Schema builder recognizes it like a property toLogs and makes it mandatory. How to solve this issue properly?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions