-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Sessions] Add SessionStartEvent wrapper for building the nanopb proto #10311
Conversation
6433831
to
e0f4b83
Compare
44f75e6
to
2ef1f25
Compare
3b1af0a
to
f75bc8f
Compare
f75bc8f
to
1b72161
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the comments: 3 major suggestions:
- We need a clear/module class interaction defined and name the classes according to them. Some generic terms used for classes would grow in time to become hard to maintain.
- Lets add comments to every class/function/variable to ensure that it becomes easier to understand that the class/function is supposed to do. Right now, I find it hard to understand the purpose of them
- Logging levels for log messages - We need to have a good defined rule about the logging level for messages. Typically,
error
level is set for only something that the user has set something wrong as. For eg: bad app Id name. Anything else, should have a log level ofwarning
or below. It might be good to even define them in the execution doc.
FirebaseSessions/Sources/GoogleDataTransport+GoogleDataTransportProtocol.swift
Outdated
Show resolved
Hide resolved
335662e
to
e2b6cf5
Compare
I do still need to add more comments in this PR though - incoming.
I'm interested if the core folks have advice they try to get everyone to follow. |
42b0012
to
0ed1f80
Compare
0ed1f80
to
607ab29
Compare
Size Report 1Affected ProductsTest Logs |
Coverage Report 1Affected Products
Test Logs |
FirebaseSessions/Sources/GoogleDataTransport+GoogleDataTransportProtocol.swift
Outdated
Show resolved
Hide resolved
Co-authored-by: Nick Cooke <[email protected]>
Gonna submit this to unblock Leo. I'm gonna follow up with a refactor to the Identifiers class |
#no-changelog