nori icon indicating copy to clipboard operation
nori copied to clipboard

Selective disabling of advanced_typcasting for certain attributes

Open gee-forr opened this issue 8 years ago • 0 comments

Hi there,

I was wondering if its possible to disable advanced_typecasting for certain attributes?

Right now, I'm consuming an API that gives coordinate data back in two potential formats; decimal, and D:M:S. The problem is, that when a field has a D:M:S geographic coordinate in it, it gets converted to a Time object.

It's a handy feature, and I'm using advanced_typecasting elsewhere, so I'm not 100% keen on switching it off entirely, and would just like to instruct Nori, by way of Savon, to not typecast a list of attributes I specify upfront.

Many thanks!

gee-forr avatar Mar 22 '17 09:03 gee-forr