Skip to content

Superseding properties are created as well as those which they supersede #152

@baspeeters

Description

@baspeeters

When using the flag allProperties, the properties which supersede other properties are also generated, resulting in the following class with errors regarding duplicate properties:

For example, in CreativeWork, award supersedes awards.

/**
* @var string|null an award won by or for this item
*
* @ORM\Column(type="text", nullable=true)
* @ApiProperty(iri="http://schema.org/award")
*/
private $award;

/**
* @var string|null awards won by or for this item
*
* @ORM\Column(type="text", nullable=true)
*/
protected $award;

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