Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

add ExecutionInputCustomizer #9

Merged
merged 4 commits into from
Apr 8, 2019
Merged

add ExecutionInputCustomizer #9

merged 4 commits into from
Apr 8, 2019

Conversation

andimarek
Copy link
Member

This is an alternative to #3

import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

@PublicApi

This comment was marked as resolved.


Mono<ExecutionInput> customizeExecutionInput(ExecutionInput executionInput, ServerWebExchange webRequest);

}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking it should not be a Mono - but - perhaps it should since you might call out to somewhere to get a special "context token" etc...

So good idea!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea ... it is all about giving the user the possibilities, so I think making it async is a good thing.

@andimarek andimarek added this to the 2.0 milestone Apr 8, 2019
@andimarek andimarek merged commit d7659a9 into master Apr 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants