mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 08:57:26 +08:00
While using `OpenStruct` is nice, it’s generally not a very good idea as it usually leads to performance problems. The `OpenStruct` source code even says basically to avoid it. Since the context object is crucial in our services, this patch replaces `OpenStruct` with a custom implementation instead. |
||
|---|---|---|
| .. | ||
| action_base.rb | ||
| base.rb | ||
| contract_base.rb | ||
| policy_base.rb | ||
| runner.rb | ||
| steps_inspector.rb | ||