discourse/lib/service
Loïc Guitaut 229773e7a8 DEV: Drop `OpenStruct` for the context object in services
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.
2024-10-08 10:34:55 +02:00
..
action_base.rb
base.rb DEV: Drop `OpenStruct` for the context object in services 2024-10-08 10:34:55 +02:00
contract_base.rb DEV: Have `contract` take a block in services 2024-10-02 17:00:01 +09:00
policy_base.rb
runner.rb DEV: Make params explicit for services in controllers 2024-10-03 16:56:39 +09:00
steps_inspector.rb DEV: Drop `OpenStruct` for the context object in services 2024-10-08 10:34:55 +02:00