Feature #44740

Add support for doctrine's 'indexBy'-annotation in FlowAnnotationDriver

Added by Marco Falkenberg over 2 years ago. Updated 5 months ago.

Status:Resolved Start date:2013-01-23
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Persistence
Target version:-
PHP Version: Complexity:no-brainer
Has patch:No

Description

There is a nice feature for indexing doctrine's collections (One-To-Many & Many-ToMany). See http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/working-with-indexed-associations.html

It would be nice if Flow's annotation would transport this annotation as well.

Many thanks!

Associated revisions

Revision 4d0f1daa
Added by Ferdinand Kuhl 6 months ago

[BUGFIX] Properly support doctrine's indexBy attribute

Doctrine allows an indexBy attribute at OneToMany and ManyToMany
relations. The current FlowAnnotationDriver removes this attribute.
This patch passes it forward again.

Functional tests are included.

Change-Id: I15103ba7393d0901e36e04c593a71e8cf51fa980
Related: #44740
Releases: master, 2.3, 2.2, 2.1

Revision fcd2517c
Added by Ferdinand Kuhl 6 months ago

[BUGFIX] Properly support doctrine's indexBy attribute

Doctrine allows an indexBy attribute at OneToMany and ManyToMany
relations. The current FlowAnnotationDriver removes this attribute.
This patch passes it forward again.

Functional tests are included.

Change-Id: I15103ba7393d0901e36e04c593a71e8cf51fa980
Related: #44740
Releases: master, 2.3, 2.2, 2.1

Revision 6d90717b
Added by Ferdinand Kuhl 6 months ago

[BUGFIX] Properly support doctrine's indexBy attribute

Doctrine allows an indexBy attribute at OneToMany and ManyToMany
relations. The current FlowAnnotationDriver removes this attribute.
This patch passes it forward again.

Functional tests are included.

Change-Id: I15103ba7393d0901e36e04c593a71e8cf51fa980
Related: #44740
Releases: master, 2.3, 2.2, 2.1

Revision 59c880f2
Added by Ferdinand Kuhl 6 months ago

[BUGFIX] Properly support doctrine's indexBy attribute

Doctrine allows an indexBy attribute at OneToMany and ManyToMany
relations. The current FlowAnnotationDriver removes this attribute.
This patch passes it forward again.

Functional tests are included.

Change-Id: I15103ba7393d0901e36e04c593a71e8cf51fa980
Related: #44740
Releases: master, 2.3, 2.2, 2.1

History

#1 Updated by Karsten Dambekalns 5 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF