Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
This pull request enhances the create methods for SQL objects by offering more flexibility for handling foreign keys. Previously, users had to choose between object references or IDs, but now they can mix and match as needed. Additionally, identical or nearly identical code has been removed.
Example:
previously:
create(Foo fooRef, Bar barRef, ...)
create(Integer fooId, Integer barId, ...)
with this PR:
create(Foo fooRef, Bar barRef, ...)
create(Integer fooId, Integer barId, ...)
create(Foo fooRef, Integer barId, ...)
create(Integer fooId, Bar barRef, ...)
This pull request enhances the
create
methods for SQL objects by offering more flexibility for handling foreign keys. Previously, users had to choose between object references or IDs, but now they can mix and match as needed. Additionally, identical or nearly identical code has been removed.Example: