Skip to content

DoctrineWriter oneToMany Association #282

Description

@dgram

Hi,

i have an problem with the DoctrineWriter,
when i try to use the writer with nested - oneToMany relation.

Example:

Product -> Categories (1 - n)

I have my structure like this

productName; categories
"test"; "category1, category2"

Know i have implement an NestedValueConverterStep so the Converter will read the entities by the given extracted name.

So i have an array of Category Entities.
The Problem ive seen in the code, is theres no query which read if this is an oneToMany association.

I want to make the issue directly in portphp, but have no option to do that.

btw: it will be better to make the variables and functions in ValueConverterStep as "protected" to reuse them.

regards,
daniel

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions