You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way at the call site I could use MyEvent.with(parameter1: "value") rather than need to pass in nil for all of the properties I know aren't relevant. I could see a case made for wanting to bring attention to all properties at the call site, but at least in my app this would save a lot of unnecessary noise.
The text was updated successfully, but these errors were encountered:
In version 9.1.0 of Typewriter, it looks like a convenience is generated to create a tracking event with optional values:
It would be great to have something like this, but more of a static function with default values for optional properties, like:
This way at the call site I could use
MyEvent.with(parameter1: "value")
rather than need to pass innil
for all of the properties I know aren't relevant. I could see a case made for wanting to bring attention to all properties at the call site, but at least in my app this would save a lot of unnecessary noise.The text was updated successfully, but these errors were encountered: