dry-rb / dry-struct

Typed struct and value objects
https://dry-rb.org/gems/dry-struct
MIT License
410 stars 62 forks source link

Store weak reference to struct class to prevent memory leakages in environments with reloadable constants #151

Closed flash-gordon closed 4 years ago

flash-gordon commented 4 years ago

I mean in rails

dry-bot commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Issues
======
- Added 2

Coverage decreased per file
===========================
- lib/dry/struct/compiler.rb  -9

Complexity increasing per file
==============================
- lib/dry/struct/compiler.rb  3

See the complete overview on Codacy