Replies: 1 comment
-
nevermind. it is the result of my silly decision at the beginning of the project: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone!
I’ve noticed that I can define the event sort order using the
as_at
andas_of
methods inRubyEventStore::Specification
after calling read on a client, likeevent_store.read.as_at
. This is quite useful for restoring the sequence of actions a user took in my code.My question is: Is there a way to define a global default for sorting? This would be particularly useful for the RES Browser. While I could monkey patch the RES Browser for now (here
rails_event_store/ruby_event_store-browser/lib/ruby_event_store/browser/get_events_from_stream.rb
Line 49 in f9ef32b
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions