blaze-persistence
blaze-persistence copied to clipboard
Support create view constructors containing just @MappingParameter parameters
Currently we require an empty constructor in a view to generate the constructor which is used for EntityViewManager.create, but this is odd. Also, we currently don't validate if such a constructor exists for a @CreatableEntityView which might lead to an issue when invoking EntityViewManager.create.
We should allow constructors that contain only @MappingParameter parameters and validate that for @CreatableEntityView classes:
- [ ] ProxyFactory implementation for the support of mappingParameterOnlyConstructors
- [ ] ImplementationClassWriter for the support of mappingParameterOnlyConstructors
- [ ] Validation that
@CreatableEntityViewcontains mappingParameterOnlyConstructors