Sending entire PackageMeta objects may be overkill for the website and might not be necessary for previews on the client either. Sending anything more than on Namespace prefixes is also overkill for /namespaces, but that could be optimized without GraphQL (Only return prefixes in /api/namespaces/member-or-invited?).
If optimizing specific cases ends up with excessive API endpoints, it may make sense to look into GraphQL to tailor data to each request.
Sending entire PackageMeta objects may be overkill for the website and might not be necessary for previews on the client either. Sending anything more than on Namespace prefixes is also overkill for
/namespaces
, but that could be optimized without GraphQL (Only return prefixes in/api/namespaces/member-or-invited
?).If optimizing specific cases ends up with excessive API endpoints, it may make sense to look into GraphQL to tailor data to each request.