orisai / object-mapper

Raw data mapping to validated objects
Mozilla Public License 2.0
10 stars 1 forks source link

Check if object is instantiable only during metadata loading #44

Closed mabar closed 1 year ago

mabar commented 1 year ago

Split ObjectCreator into two methods - one for instantion, second for reflection check

DefaultObjectCreator should also check if constructor is public, if used by object mapper. Other implementations may allow other ways.

mabar commented 1 year ago

Solved by https://github.com/orisai/object-mapper/commit/c502eb51b56e4c85757a6b08bfd81dd11140dc81

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.