Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selective disabling of advanced_typcasting for certain attributes #77

Open
gee-forr opened this issue Mar 22, 2017 · 0 comments
Open

Selective disabling of advanced_typcasting for certain attributes #77

gee-forr opened this issue Mar 22, 2017 · 0 comments

Comments

@gee-forr
Copy link

gee-forr commented Mar 22, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant