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

Relese/v2.2.0 #30

Merged
merged 13 commits into from
Nov 15, 2019
Merged

Relese/v2.2.0 #30

merged 13 commits into from
Nov 15, 2019

Conversation

Truba
Copy link
Member

@Truba Truba commented Nov 14, 2019

No description provided.

@Truba Truba requested a review from fgulan November 14, 2019 15:28
Copy link
Member

@fgulan fgulan left a comment

Choose a reason for hiding this comment

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

Mostly code style/naming remarks, other than that, great job! 🎉

Example/Japx/Base.lproj/Main.storyboard Outdated Show resolved Hide resolved
Japx.podspec Outdated Show resolved Hide resolved
Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
from: allObjects,
parseNotIncludedRelationships: options.parseNotIncludedRelationships
)

let relationships = try paramsDict.allKeys.map({ $0 as! String }).reduce(into: Parameters(), { (result, relationshipsKey) in
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
let relationships = try paramsDict.allKeys.map({ $0 as! String }).reduce(into: Parameters(), { (result, relationshipsKey) in
let relationships = try paramsDict.allKeys.compactMap { $0 as? String }.reduce(into: Parameters(), { (result, relationshipsKey) in

Copy link
Member Author

@Truba Truba Nov 15, 2019

Choose a reason for hiding this comment

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

This one ⬆️ :)
I wouldn't leave it like this in my usual code, but I'm reclined on leaving it here as is. Trying to do every little thing (that doesn't include writing code in C) to try to boost CPU performance.
What do you think?

Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
Japx/Classes/ObjC/JapxObjC.swift Outdated Show resolved Hide resolved
Japx/Classes/ObjC/JapxObjC.swift Outdated Show resolved Hide resolved
Japx/Classes/ObjC/JapxObjC.swift Outdated Show resolved Hide resolved
@Truba Truba requested a review from fgulan November 15, 2019 10:32
Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
Japx/Classes/Core/Japx.swift Outdated Show resolved Hide resolved
@fgulan fgulan merged commit b44570c into master Nov 15, 2019
@fgulan fgulan deleted the relese/v2.2.0 branch November 15, 2019 11:05
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