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

SWIFT-1129 Create full stack Swift example project #746

Merged
merged 21 commits into from
Mar 17, 2022
Merged

Conversation

kmahar
Copy link
Contributor

@kmahar kmahar commented Mar 3, 2022

.swiftlint.yml Show resolved Hide resolved
.swiftlint.yml Show resolved Hide resolved
Examples/FullStackSwiftExample/README.md Show resolved Hide resolved
do {
try await body()
} catch {
print("Unexpected error: \(error)")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@am-MongoDB I was wondering if you could suggest a good lightweight way to handle errors that occur when interacting with the back end. I didn't want to do anything too complicated, but printing also seems maybe too simple... thoughts?

Choose a reason for hiding this comment

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

I'll suggest some changes to the Views to show errors

@kmahar
Copy link
Contributor Author

kmahar commented Mar 4, 2022

@am-MongoDB I don't seem to be able to formally request you as a reviewer due to repo permissions, but let me know if GitHub will still let you leave comments or not.

@kmahar kmahar marked this pull request as ready for review March 4, 2022 15:53
Copy link
Contributor

@patrickfreed patrickfreed left a comment

Choose a reason for hiding this comment

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

Looks great! I just have a few minor comments/questions

Examples/FullStackSwiftExample/Backend/loadData.sh Outdated Show resolved Hide resolved
Examples/FullStackSwiftExample/README.md Show resolved Hide resolved
Copy link
Contributor

@isabelatkinson isabelatkinson left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Contributor

@patrickfreed patrickfreed left a comment

Choose a reason for hiding this comment

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

LGTM!

Examples/FullStackSwiftExample/Models/Package.swift Outdated Show resolved Hide resolved
do {
try await body()
} catch {
print("Unexpected error: \(error)")

Choose a reason for hiding this comment

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

I'll suggest some changes to the Views to show errors

kmahar and others added 3 commits March 15, 2022 23:36
Co-authored-by: Andrew Morgan <andrew.morgan@mongodb.com>
Co-authored-by: Andrew Morgan <andrew.morgan@mongodb.com>
Co-authored-by: Andrew Morgan <andrew.morgan@mongodb.com>
@kmahar kmahar merged commit 2fdf64d into main Mar 17, 2022
@kmahar kmahar deleted the SWIFT-1129/iOS-example branch March 17, 2022 18:40
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.

4 participants