{"push_id":2729990256,"size":2,"distinct_size":2,"ref":"refs/heads/fix/1551-rest-controller-generator","head":"bede461b4299e9b12c36789438f0f9a593fd0b98","before":"a3d15ba5b958e7792bea6505038f0433bc842b8a","commits":[{"sha":"534895d3985157718c5818c068d34339c9f95daf","author":{"name":"biniam","email":"31aa51cc6fcef41d0e632428a2179119573e77b4@ca.ibm.com"},"message":"fix(repository): change parameter order in HasManyRepositoryFactory\n\nBREAKING CHANGE: the generic SourceID for type HasManyRepositoryFactory\nhas been renamed to ForeignKeyType and switched with Target generic.\nAlso, the function createHasManyRepositoryFactory also renames the same\ngeneric and makes it the last declared generic. Lastly, the generic\nForeignKeyType is added to DefaultCrudRepository#_createHasManyRepository\nFactoryFor function. Assuming there is an Order and Customer model defined,\nsee the following examples for upgrade instructions:\n\nFor `HasManyRepository` type:\n\n```diff\n- public orders: HasManyRepository<typeof Customer.prototype.id, Order>\n+ public orders: HasManyRepository<Order, typeof Customer.prototype.id>\n```\n\nFor `createHasManyRepositoryFactory` function:\n\n```diff\n- const orderFactoryFn = createHasManyRepositoryFactory<typeof Customer.\nprototype.id, Order, typeof Order.prototype.id>(...);\n+ const orderFactoryFn = createHasManyRepositoryFactory<Order, typeof Order.\nprototype.id, typeof Customer.prototype.id>(...);\n```","distinct":true,"url":"https://api.github.com/repos/steevsachs/loopback-next/commits/534895d3985157718c5818c068d34339c9f95daf"},{"sha":"bede461b4299e9b12c36789438f0f9a593fd0b98","author":{"name":"Steev Sachs","email":"3318f5efcdc5b0643fcab999582b27dd8b8bc047@gmail.com"},"message":"fix(cli): fix cli rest controller generator template\n\nCo-authored-by: Mario Estrada <marioestradarosa@yahoo.com>","distinct":true,"url":"https://api.github.com/repos/steevsachs/loopback-next/commits/bede461b4299e9b12c36789438f0f9a593fd0b98"}]}
{"actor":{"display_login":"shimks"}}