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
/Users/francois/.rvm/gems/ruby-3.3.5/gems/ruby_event_store-2.15.0/lib/ruby_event_store.rb:6: warning: /Users/francois/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/ostruct.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
Also please contact the author of ruby_event_store-2.15.0 to request adding ostruct into its gemspec.
OpenStruct is known to not be super performant. I have not investigated how/where it is used. Can OpenStruct be replaced, without going to an outside library?
The text was updated successfully, but these errors were encountered:
Since Ruby 3.5 ostruct won't come as bundled gem, it's currently triggering
warning in projects using RailsEventStore as it's required in PreserveTypes:
- #1824
- https://bugs.ruby-lang.org/issues/20309
- ruby/json#565
We don't rely on OpenStruct, but just support it being present in events'
data and metadata. RailsEventStore::JSONClient has been modified to
support OpenStruct only if it's present in project's bundle — we assume
that if someone made a decision to use this library, it was an informed
decision.
Still, it has to become development dependency.
Fix for deprecation warning is not yet released, but you can use it by providing github: "RailsEventStore/rails_event_store" option in Gemfile along with this specific ref:291e0b0
Just following instructions!
OpenStruct is known to not be super performant. I have not investigated how/where it is used. Can OpenStruct be replaced, without going to an outside library?
The text was updated successfully, but these errors were encountered: