Skip to content

Conversation

@edan-bainglass
Copy link
Member

@edan-bainglass edan-bainglass commented Jan 17, 2026

Based on #110

This PR greatly improves fetching performance (10x) for get_many endpoints. It does so by avoiding the iterative serialization of node results, instead projecting on the fields which manual serialization would yield (predicatable). Validation is retained by way of FastAPIs response_model.

This PR implements a similar approach also for get/add_one endpoints, though in principle the performance boost here is negligible. It does so for consistency, though perhaps (to be discussed) we can retain the manual serialization for these endpoints. Note that for add_one endpoints, it is more convenient to retain it (already done in this PR).

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