1882cfee48
instead sorting the entities in the client on demand, use default ordering parameters for entities when calling `getEntities`. having thousands of entities causes this function to pop up as the sorting method is not very lightweight thus moving it to database to handle. Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
510 B
510 B
@backstage/catalog-client, @backstage/plugin-catalog-backend
| @backstage/catalog-client | @backstage/plugin-catalog-backend |
|---|---|
| patch | patch |
Moved getEntities ordering to utilize database instead of having it inside catalog client
Please note that the latest version of @backstage/catalog-client will not order the entities in the same way as before. This is because the ordering is now done in the database query instead of in the client. If you rely on the ordering of the entities, you may need to update your backend plugin or code to handle this change.