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

Update example and readme #115

Merged
merged 1 commit into from
Feb 18, 2022
Merged

Update example and readme #115

merged 1 commit into from
Feb 18, 2022

Conversation

mikakruschel
Copy link
Contributor

Hey there, thanks for making Diagnostics public, I think it's a cool way to debug apps in production.
I saw that you had a discussion about whether to use an optional array or just an empty array (e75d7e4) and decided to go the non-optional way. It seems though that you forgot to change the example, so that's what this pull request is.

@BasThomas
Copy link

Thanks, @mikakruschel! I don't really understand, however. We (for now) went for making it optional, and that is reflected in the example. You now changed both the implementation and the example?

@mikakruschel
Copy link
Contributor Author

As you can in the commit e75d7e4 and this line:

func smartInsights(for chapter: DiagnosticsChapter) -> [SmartInsightProviding]

you decided against making it optional. This is why the example is currently not working. All I did was to fix the example.

@BasThomas
Copy link

Oh 😅, seems like I missed that. Thanks!

Copy link
Contributor

@AvdLee AvdLee left a comment

Choose a reason for hiding this comment

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

Ah, yeah, completely forgot about updating the example and readme. Thanks a ton for this! 💪

@wetransferplatform
Copy link
Collaborator

Fails
🚫 Build service could not create build operation: internal error: could not generate PIF because the workspace has not finished loading or is still waiting for package resolution
Messages
📖

View more details on Bitrise

📖 DiagnosticsTests: Executed 30 tests (0 failed, 0 retried, 0 skipped) in 0.466 seconds

Code Coverage Report

Name Coverage
Diagnostics 75.64% ⚠️

Generated by 🚫 Danger Swift against fc28bed

@AvdLee AvdLee merged commit b6750fe into WeTransfer:master Feb 18, 2022
@wetransferplatform
Copy link
Collaborator

Congratulations! 🎉 This was released as part of Release 4.0.0 🚀

Generated by GitBuddy

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