The existing README marks the Field definition for a primary key as redundant.
This is misleading due to the fact that the CRUD Get method won't generate with an integer argument unless you have this Field declaration for the primary key. Same for the model helper method OneFoo.
There has been some chatter on the Slack channel about altering the default behavior. But until then, hopefully altering this documentation example will save some people some pain.
The existing README marks the
Field
definition for a primary key as redundant.This is misleading due to the fact that the CRUD
Get
method won't generate with an integer argument unless you have this Field declaration for the primary key. Same for the model helper methodOneFoo
.There has been some chatter on the Slack channel about altering the default behavior. But until then, hopefully altering this documentation example will save some people some pain.