Skip to content

Pass along a callback to signal waterline readiness#44

Open
gilgamez wants to merge 1 commit intoagmoyano:masterfrom
tippiq:master
Open

Pass along a callback to signal waterline readiness#44
gilgamez wants to merge 1 commit intoagmoyano:masterfrom
tippiq:master

Conversation

@gilgamez
Copy link

@gilgamez gilgamez commented Apr 7, 2016

This fixes #43.
When using oidc.use middleware in a route, there is a brief moment at startup that modelling/waterline haven't finished starting up. Modelling provides a callback for that and this gives you the option to pass along your own callback through the OpenIDConnect constructor.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to know when modelling and waterline have finished initializing

1 participant