Skip to content

[Address] Allow to extend address collection #523

@egeloen

Description

@egeloen

Hey!

I would like to discuss an issue before you release the 4.x. Basically, in egeloen/google-map, I have added my own provider which allows to get full informations from the Google geocoder (and not just a subset as it is done here for consistency between providers).

Anyway, since the AddressCollection is final, I don't know how I can respect the contract of geocode and reverse (returning an AddressCollection) and at the same time being able to add more behaviors to it. In the doc, I explicitely explains that I broke the contract of geocode and reverse on purpose but it would be nicer if I can respect it...

Maybe introduce an interface for an extension point?

Feedbacks really welcome :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions