Context Map missing required key

29 views
Skip to first unread message

Alan Thompson

unread,
Aug 22, 2018, 6:05:08 PM8/22/18
to pedestal-users
Hi - I just saw an interceptor with a :leave function receive a context map without the

:io.pedestal.interceptor.chain/queue

key.  The docs list this key as required.  Should the docs be updated?

Alan

Paul deGrandis

unread,
Sep 4, 2018, 6:38:51 AM9/4/18
to pedestal-users
Hi Alan,

The docs should be updated.  The queue key is only required for execution (on the enter stage/phase).  Once an interceptor chain begins processing `leave`, the queue is removed from the context.

Cheers,
Paul

Daniel De Aguiar

unread,
Sep 21, 2018, 11:18:10 AM9/21/18
to pedestal-users
Hi Alan,

Can you point me to the docs you are referring to? The Context Map docs on the pedestal.io site doesn't call out a specific key as required but I did update it to be clearer regarding this behavior.
Reply all
Reply to author
Forward
0 new messages