Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Doctrine json_array type should now be json #4547

@soyuka

Description

@soyuka

Since json_array has been deprecated in Doctrine DBAL we should use json. In graphql this changes how the type opperates. Change the json type in Entity/Dummy and fix the corresponding behat tests.

https://github.com/api-platform/core/blob/main/tests/Fixtures/TestBundle/Entity/Dummy.php#L136-L138

Note that you should probably also change the array type or add the nullable PHP type .

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