Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ModelInspector a true registry/factory for ClassMappings #2890

Open
ewoutkramer opened this issue Oct 9, 2024 · 0 comments
Open

Make ModelInspector a true registry/factory for ClassMappings #2890

ewoutkramer opened this issue Oct 9, 2024 · 0 comments

Comments

@ewoutkramer
Copy link
Member

There will be multiple ways to generate ClassMappings:

  • By hand/from a source code generator
  • From a structuredefinition
  • From the reflection info on the POCOs (current situation).

We need a new abstraction (or extend ModelInspector) to serve as a point where users can register such mappings or mapping factories. In any case, the current reflection code in ClassMapping needs to be moved somewhere, and we need to be able to have a way to add classmappings manually (as we've done in the PR for almostchristian). And then for the future, a way to add them from SDs.

@Kasdejong Kasdejong added the SDK-6 label Oct 9, 2024
@Kasdejong Kasdejong modified the milestone: SDK 6 Oct 9, 2024
@Kasdejong Kasdejong removed the SDK-6 label Oct 9, 2024
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

No branches or pull requests

3 participants