discourse-assign/app
Roman Rizzi 1a5b02755d
FIX: Don't fail because flair_uploads weren't eager loaded (#379)
The basic group serializer complains that the flair_upload relation has to be eager loaded when attempting to included assigned groups in search results, which is a consequence of using strict loading during search's preload to
avoid N+1.

Eager loading the association during this would definitely fix the problem, but is it the right solution? It seems to me that this serializer does too much, when we only need a small number of attributes to display the assigned
widget. Instead, this commit adds a lightweight custom serializer which grabs only the essentials for it to work.
2022-09-16 12:08:47 -03:00
..
controllers/discourse_assign FIX: Find better users for automatic assignment (#370) 2022-08-25 15:13:33 +03:00
mailers DEV: Apply syntax_tree formatting 2022-07-27 13:48:51 -03:00
models FEATURE: Assign Status (#363) 2022-08-04 14:50:18 -03:00
serializers FIX: Don't fail because flair_uploads weren't eager loaded (#379) 2022-09-16 12:08:47 -03:00