mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00: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.