RailsEventStore / rails_event_store

A Ruby implementation of an Event Store based on Active Record
http://railseventstore.org
MIT License
1.42k stars 122 forks source link

[deprecation warning]: `ostruct.rb` was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0 #1824

Open francois opened 1 month ago

francois commented 1 month ago

Just following instructions!

/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?

lukaszreszke commented 2 weeks ago

Hi @francois. Thanks for reporting. I'll check that with the team and let you know.