biiiig update
-
Types and their mappings are represented via a (generic)
Type
object. This allows for encapsulation of mapping.
Before:
$table->findBy([
$table::ID => $queriedId->toString(), // <- I have to duplicate mapping implementation
]);
After:
$table->findBy([
$table::ID => $table->id()->map($queriedId),
]);
-
Scaffolding can optionally generate default primary key implementation.
-
Proper nette/di extension.
-
🍏 Tests🎉
cc @dkurowski