Skip to content

Document calling super() on initialize().#1529

Merged
ricardograca merged 3 commits into
bookshelf:masterfrom
teckst:master
Jan 5, 2018
Merged

Document calling super() on initialize().#1529
ricardograca merged 3 commits into
bookshelf:masterfrom
teckst:master

Conversation

@alsonkemp

Copy link
Copy Markdown
Contributor

We got bitten by this bit of missing documentation: bookshelf-schema overrides Model.initialize but one of our developers followed the docs and didn't call super(). Lost about three hours debugging that...

@alsonkemp

Copy link
Copy Markdown
Contributor Author

The build is failing because of an upgrade to knex 0.12.7. PR #1531 fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants