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
Describe the bug
We are considering using a custom EventStore as described here. However, the EventStore requires a method with the signature func emittableEvents(withQueryLimit queryLimit: UInt) -> [SnowplowTracker.EmitterEvent]. It seems that initializing EmitterEvent outside of the project is not possible. Am I missing something, or should the protection level of the EventEmitter be changed to public?
Screenshots
The text was updated successfully, but these errors were encountered:
That is correct, @fardage, thanks for reporting this! We will change the protection level of the constructor in the EmitterEvent in the next patch release.
mscwilson
changed the title
Persisting events with a custom EventStore
Make EmitterEvent constructor public
Feb 12, 2024
Describe the bug
We are considering using a custom EventStore as described here. However, the
EventStore
requires a method with the signaturefunc emittableEvents(withQueryLimit queryLimit: UInt) -> [SnowplowTracker.EmitterEvent]
. It seems that initializingEmitterEvent
outside of the project is not possible. Am I missing something, or should the protection level of the EventEmitter be changed topublic
?Screenshots
The text was updated successfully, but these errors were encountered: