Integrated Dynamics

Integrated Dynamics

63M Downloads

Refactor AspectBuilder::withProperties

josephcsible opened this issue ยท 1 comments

commented

There's got to be a better way to give aspects properties than to manually create separate containers for every combination of them that we ever use. We have so much repetition and boilerplate related to this in the Aspect*Builders files.

Also, look into if we can make it possible for value propagators to define properties, which would then be present on any aspect they're used in.

commented

Idea for the "also": add a method to define properties to IAspectValuePropagator, but give it a default implementation so that it stays a functional interface, and we can still use lambdas with it wherever we don't need to set properties like that