mobilizon/lib/graphql
Massedil 752da9e641 Issue #1567 : Add a long_event computed field to an event
The actual long_event implementation is only done for search and long_event is a parameter of the search request.

This change is needed for the the front-end to know if an event is a long_event everywhere an event is received.

The computed field (Ecto virtual field) is set after the Ecto request with the function with_virtual_fields().

with_virtual_fields() handles cases where there is an event, a list of events and a paginated list of events returned.
2024-11-29 19:15:35 +01:00
..
api #1308 Fix group sorting and add new criteria (creation date, last event activity) 2024-10-24 19:09:28 +02:00
authorization fix(apps): add missing app scopes 2023-08-10 18:02:01 +02:00
middleware Add GraphQL operation name, user ID and actor name in logs 2022-11-06 13:03:53 +01:00
resolvers fix #1469 and # 1475 2024-07-08 21:44:22 +00:00
schema Issue #1567 : Add a long_event computed field to an event 2024-11-29 19:15:35 +01:00
authorization.ex WIP 2023-11-14 14:24:17 +01:00
error.ex refactor(backend): extract convert_ecto_errors in the Mobilizon.Storage.Ecto module 2024-01-04 12:59:15 +01:00
schema.ex WIP 2023-11-14 14:24:17 +01:00