Skip to content

OpenStruct will no longer be a default gem in Ruby 3.5 #499

@Mado13

Description

@Mado13

While upgrading my app to Ruby 3.4.7, I received a deprecation warning stating that OpenStruct will no longer be part of the standard library by default starting in Ruby 3.5.0.

Graphiti depends on OpenStruct, so I had to manually add gem 'ostruct' to my Gemfile to avoid errors.

It might be good to explicitly include ostruct as a runtime dependency in the gemspec to ensure compatibility with Ruby ≥3.5.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions