wiki: rename Sequence to DefaultSequence
At the moment, wiki pages contains reference to Sequence class. This does not exist in the current implementation, we have two different entities instead:
SequenceHandlerdefines the interface required by our REST layer. This allows applications to build custom sequences not inheriting from our default implementation.DefaultSequenceprovides a default implementation that usesfindRoute,invoke, etc. to handle incoming requests.
We need to review all wiki pages and replace Sequence with DefaultSequence or SequenceHandler as appropriate.
@bajtos Updated the wiki to fix examples that references Sequence:
- https://github.com/strongloop/loopback-next/wiki/Sequence
- https://github.com/strongloop/loopback-next/wiki/Routing
- https://github.com/strongloop/loopback-next/wiki/Context
- https://github.com/strongloop/loopback-next/wiki/Sequence-(Advanced)
Those are the only pages where I found Sequence relevant. Please let me know if anything else needs to be updated.
@ssh24 thanks.
https://github.com/strongloop/loopback-next/wiki/Sequence
class MySequence extends SequenceHandler
SequenceHandler is an interface (which is used with implements keyword, not extends). However, the code example needs properties from DefaultSequence. Same comment applies to most other code snippets on this page. I fixed them all.
I reviewed and fixed other pages that you have referred to, @ssh24. I am closing this issue as done.