sequelize icon indicating copy to clipboard operation
sequelize copied to clipboard

Add type Buffer as possible identifier for id in 'findByPrimary' function

Open YaroslavRepeta opened this issue 8 years ago • 2 comments

Added type "Buffer" as possible parameter type for "findById" and its alias "findByPrimary" functions. Look at https://github.com/sequelize/sequelize/blob/master/lib/model.js#L1701

YaroslavRepeta avatar Mar 21 '18 09:03 YaroslavRepeta

Build fails because of changes in https://github.com/types/sequelize/pull/152.

YaroslavRepeta avatar Mar 21 '18 09:03 YaroslavRepeta

Apparently this is a prettier issue, I don't see this strictly related to my PR, maybe you want to add a fixup here?

SimonSchick avatar Apr 26 '18 08:04 SimonSchick