1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2025-03-12 17:42:53 +00:00
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
middleware
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
error.ex refactor(backend): extract convert_ecto_errors in the Mobilizon.Storage.Ecto module 2024-01-04 12:59:15 +01:00
schema.ex