Skip to content

Update entity property sorting to be based off of class inheritence#105

Merged
acharron-hl merged 1 commit into
masterfrom
feature/entity-property-sorting
Mar 20, 2026
Merged

Update entity property sorting to be based off of class inheritence#105
acharron-hl merged 1 commit into
masterfrom
feature/entity-property-sorting

Conversation

@acharron-hl

Copy link
Copy Markdown
Contributor

This PR updates sorting of properties in the Entity::buildSchema() to respect class inheritence.

This helps keep consistent sorting for authenticator schemas (and their forms) and also helps with API output by putting common/baseclass fields before subtype specific fields.

@HL-RamonZubiate HL-RamonZubiate left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM - Will make a note in our next 1-1 since I kinda want to recognize patterns where using reflection makes sense in our codebase.

@acharron-hl acharron-hl merged commit 36cea90 into master Mar 20, 2026
2 checks passed
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