mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:33:51 +08:00
229773e7a8
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 |