geocoder-php/BazingaGeocoderBundle

Allow to add "Address" annotation over a method

romaricdrigon opened this issue · 6 comments

Hello,

The Doctrine annotations are very useful, but it is pretty common to store the address either in a Value Object, either split access street/zip/city properties.
It would be extremely useful to have the listener call a getter (which could get the address the way we like), instead of forcing having a property.

I'm just testing the idea there, if it is liked I can work on a PR.
Thank you for the bundle!

kije commented

+1

Hello @romaricdrigon, would you like to submit a PR?

Sure, I will work on it next week.

@romaricdrigon so, will you have time for this? 🙂

I started, but I had troubles running tests. Test suite is failing on my laptop, I have to dig into that.

Hmm I will let Travis handle that, PR is created!