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

Add the ISO8601 formatter into default transformers earlier #2291

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

Adlai-Holler
Copy link
Contributor

In a production app, I couldn't figure out with the 8601 formatter was still firing, after I removed all date formatters. Turns out I removed the formatters before I accessed RKObjectMapping, so in initialize it was getting added back in after I'd made my changes without me knowing. This moves it into load so that it happens earlier

@segiddins
Copy link
Member

I'm not sure this is guaranteed to be safe when RestKit is included as a static lib, since there's no guarantee that the date value transformer will be loaded

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

Successfully merging this pull request may close these issues.

None yet

2 participants