mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:54:59 +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. |
||
---|---|---|
.. | ||
locales | ||
versioning | ||
backups_helpers.rb | ||
bookmarkable_helper.rb | ||
common_basic_reviewable_serializer.rb | ||
concurrency.rb | ||
diagnostics_helper.rb | ||
discourse_event_helper.rb | ||
dom_matcher.rb | ||
fake_bookmark_hashtag_data_source.rb | ||
fake_logger.rb | ||
fake_s3.rb | ||
fast_image_helpers.rb | ||
final_destination_helper.rb | ||
helpers.rb | ||
i18n_helpers.rb | ||
imap_helper.rb | ||
integration_helpers.rb | ||
match_html_matcher.rb | ||
mock_git_importer.rb | ||
negated_matcher.rb | ||
omniauth_helpers.rb | ||
onebox_helpers.rb | ||
problem_check_matcher.rb | ||
rate_limit_matcher.rb | ||
sample_plugin_site_settings.yml | ||
service_matchers.rb | ||
shared_examples_for_custom_fields.rb | ||
shared_examples_for_stats_cacheable.rb | ||
sidekiq_helpers.rb | ||
site_settings_helpers.rb | ||
system_helpers.rb | ||
test_second_factor_action.rb | ||
time_matcher.rb | ||
topic_guardian_can_see_consistency_check.rb | ||
ts_vector_matcher.rb | ||
uploads_helpers.rb | ||
user_sidebar_serializer_attributes.rb | ||
webauthn_integration_helpers.rb |