Skip to content

Added getOrCreateIndex function #7

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

Merged
merged 3 commits into from
May 18, 2020
Merged

Added getOrCreateIndex function #7

merged 3 commits into from
May 18, 2020

Conversation

ppamorim
Copy link
Contributor

@ppamorim ppamorim commented May 6, 2020

Implements the #4. Please do not merge yet due missing documentation.

@ppamorim ppamorim mentioned this pull request May 6, 2020
@curquiza curquiza linked an issue May 10, 2020 that may be closed by this pull request
Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

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

Thanks for your work and the tests!
I'm going to ask for Quentin to do a better review for the Swift part 🙂

PS: could you please put your PR as a draft (or at least a title with WIP in it) if you don't want us to merge 😊 We can do a review anyway if you ask for!

@curquiza curquiza requested a review from qdequele May 11, 2020 09:25
Copy link
Member

@qdequele qdequele left a comment

Choose a reason for hiding this comment

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

Are you still using a linter? Some files seem to not be linted.

@ppamorim
Copy link
Contributor Author

@qdequele Yes I am, are you asking about the number of tabs? If yes I can see where you are coming from, there is a file with 1 tab instead of one, I will fix it. The Swiftlint linter does not detect this I think.

Comment on lines +75 to +82
completion(.failure(error))
}

}

}

}
Copy link
Member

Choose a reason for hiding this comment

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

@ppamorim No, I tell that because I see sometimes an empty line behind a scope close bracket. Like on these lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From where this rule is coming from? swiftlint does not complain about it. If you want you can open an issue that we can fix it since this is all over the project.

Please check this out: https://google.github.io/swift/#braces

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Thanks @ppamorim. It's not a problem. I'm sorry I slowed things down.

Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

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

😁

@ppamorim
Copy link
Contributor Author

Thank you all!

@ppamorim ppamorim merged commit 611830b into master May 18, 2020
@ppamorim ppamorim deleted the getOrCreateIndex branch May 18, 2020 21:19
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.

getOrCreateIndex method
3 participants