Skip to content

Return whole project nfo dump from project versions#506

Merged
MarcelGeo merged 1 commit intodev-r84-concurrent-pushfrom
return-project-info-v2
Sep 8, 2025
Merged

Return whole project nfo dump from project versions#506
MarcelGeo merged 1 commit intodev-r84-concurrent-pushfrom
return-project-info-v2

Conversation

@MarcelGeo
Copy link
Collaborator

TO ensure that project info dump will be properly saved in clients .mergin folders, we are returning current project info created from version instead of project version.

@MarcelGeo MarcelGeo requested a review from varmar05 September 3, 2025 13:55
@MarcelGeo MarcelGeo changed the title Return whole project nfo dump from project versions :( Return whole project nfo dump from project versions Sep 3, 2025
).dump(pv),
201,
)
return ProjectSchema().dump(project), 201
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we discussed this with @tomasMizera and it seems not all data is needed, e.g. history in files field.
Could you double check we return only what's needed? (Probably inline with new v2 project info)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok we can do it in separated PR / ticket.

@MarcelGeo MarcelGeo merged commit 9fa0a4b into dev-r84-concurrent-push Sep 8, 2025
3 of 5 checks passed
@MarcelGeo MarcelGeo deleted the return-project-info-v2 branch September 8, 2025 11:57
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