Skip to content

Updated @scadenziario-day endpoint#320

Closed
fedevancin wants to merge 2 commits into
mainfrom
summer-events
Closed

Updated @scadenziario-day endpoint#320
fedevancin wants to merge 2 commits into
mainfrom
summer-events

Conversation

@fedevancin

@fedevancin fedevancin commented May 18, 2026

Copy link
Copy Markdown

Now POST requests to @scadenziario-day on Event contexts return also a "luoghi-correlati" list of places.
If the event is directly inside another one, the outer one is returned in the field "parent_event".

All new information items returned are shaped as objects {name, url} for automatic link rendering in the frontend.

Some refactoring of the pre-existing code was needed in order to satisfy the linter.

@fedevancin fedevancin requested a review from cekk May 18, 2026 14:59
@fedevancin fedevancin self-assigned this May 18, 2026
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 26043454363

Coverage increased (+1.0%) to 69.882%

Details

  • Coverage increased (+1.0%) from the base build.
  • Patch coverage: 16 uncovered changes across 1 file (70 of 86 lines covered, 81.4%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
src/design/plone/contenttypes/restapi/services/scadenziario/post.py 86 70 81.4%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4997
Covered Lines: 3492
Line Coverage: 69.88%
Coverage Strength: 2.1 hits per line

💛 - Coveralls

@fedevancin fedevancin closed this May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants