Files
backstage/.changeset/loud-brooms-pull.md
T
Heikki Hellgren 1882cfee48 feat: move getEntities ordering to database
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>
2024-08-28 15:18:38 +03:00

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.