markembling / MarkEmbling.PostcodesIO

.NET library for interacting with the excellent Postcodes.io service.
MIT License
23 stars 16 forks source link

Mark PostcodeResult as Serializable #3

Closed Philo closed 7 years ago

Philo commented 7 years ago

Hi,

I have a very small feature request.

I'm using your library to interact with the postcodes.io API and I'm looking to add redis caching to my lookups to prevent any excessive API calls, ideally I would like to simply serialise the PostcodeResult. To easily do this it would be useful if the PostcodeResult class was marked as [Serializable].

markembling commented 7 years ago

That sounds fine to me. Is that the extent of the changes you'd need?

Philo commented 7 years ago

Yea, as a single, simple addition.

markembling commented 7 years ago

No worries. I've made that change and pushed out version 0.0.3 to NuGet.

Philo commented 7 years ago

Thanks