-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): Use dynamic introspection to register custom fields
Relates to #1848. Rather than relying on a set of hard-coded entities that we need to register custom fields on, we take advantage of the TypeORM metadata available to us at runtime in order to dynamically derive the same configuration. This opens the door to support for custom fields on user-defined entities.
- Loading branch information
1 parent
b049d37
commit 0a566d3
Showing
2 changed files
with
52 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters