Skip to content

Maintenance - Ensure Consistent Pydantic Model Output for Project Listing #7923

Open
@matusdrobuliak66

Description

@matusdrobuliak66

In the list projects endpoint in the repository, we should ideally return a proper Pydantic model. However, currently this model introduces some default values (mainly in workbench -> Node) that were not previously returned to the frontend.

Image

Image

@odeimaiz should verify whether this is acceptable. If so, we should start returning the full model consistently (including default values, if necessary). This approach would simplify handling project complexity in the backend and potentially reduce complexity in the frontend as well, since all expected fields would always be present.

Metadata

Metadata

Labels

a:frontendissue affecting the front-end (area group)a:webserverwebserver's codebase. Assigning the area is particularly useful for bugst:maintenanceSome planned maintenance work

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions