Skip to content

Explicit mapping - #170

Merged
jspahrsummers merged 15 commits into
2.0-developmentfrom
explicit-mapping
Nov 6, 2013
Merged

jspahrsummers merged 15 commits into
2.0-developmentfrom
explicit-mapping

Conversation

@robb

@robb robb commented Oct 27, 2013

Copy link
Copy Markdown
Member

This change set removes implicit mapping. Users need to invoke +mtl_identityPropertyMapWithModel: to achieve the old behavior.

Fixes #149

@robb

robb commented Oct 27, 2013

Copy link
Copy Markdown
Member Author

Wasn't sure what your preferred practice is in terms of branching off in-review branches. Apologies if this causes any unnecessary confusion.

@akashivskyy

Copy link
Copy Markdown
Contributor

That's one damn big PR. 😃

👍

@robb

robb commented Oct 27, 2013

Copy link
Copy Markdown
Member Author

@akashivskyy not really ;)

@akashivskyy

Copy link
Copy Markdown
Contributor

Ah, it contains error-transformer changes... 😵 🔫

@jspahrsummers

Copy link
Copy Markdown
Member

Can you merge in the 3.0 branch so the diff gets nicer?

@ghost ghost assigned jspahrsummers Oct 31, 2013
Conflicts:
	Mantle.xcodeproj/project.pbxproj
@robb

robb commented Oct 31, 2013

Copy link
Copy Markdown
Member Author

☁️

@jspahrsummers

Copy link
Copy Markdown
Member

👍 on the direction, but maybe this should be an NSDictionary category? Something like NSDictionary+MTLMappingAdditions with a +mtl_identityPropertyMapWithModel: method?

@robb

robb commented Oct 31, 2013

Copy link
Copy Markdown
Member Author

Personally not a big fan but I understand it's a common thing to do. Will move it over

@robb

robb commented Oct 31, 2013

Copy link
Copy Markdown
Member Author

🌵

Comment thread Mantle.xcodeproj/project.pbxproj Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be Public and included in Mantle.h.

@jspahrsummers

Copy link
Copy Markdown
Member

Can you update the examples in the README as well?

@robb

robb commented Nov 3, 2013

Copy link
Copy Markdown
Member Author

🍅

Comment thread Mantle/MTLJSONAdapter.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"with NSNull"?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that needs to go ✂️

@jspahrsummers

Copy link
Copy Markdown
Member

🗼

@robb

robb commented Nov 5, 2013

Copy link
Copy Markdown
Member Author

ゴジラ

@jspahrsummers

Copy link
Copy Markdown
Member

👽

jspahrsummers added a commit that referenced this pull request Nov 6, 2013
@jspahrsummers
jspahrsummers merged commit 2586cfc into 2.0-development Nov 6, 2013
@jspahrsummers
jspahrsummers deleted the explicit-mapping branch November 6, 2013 00:22
@robb robb mentioned this pull request Mar 31, 2014
10 tasks done
jspahrsummers added a commit that referenced this pull request Mar 16, 2015
@danielmaciel

Copy link
Copy Markdown

Why... Really bad change!

@jspahrsummers

Copy link
Copy Markdown
Member

@danielmaciel Please read #149.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants