Skip to content

Selective disabling of advanced_typcasting for certain attributes #77

@gee-forr

Description

@gee-forr

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions