Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse BaseRequestContext into RequestContext #474

Merged
merged 3 commits into from
Jun 15, 2024

Conversation

adam-fowler
Copy link
Member

@adam-fowler adam-fowler commented Jun 14, 2024

Merge BaseRequestContext and RequestContext into one protocol
Extract the init into a separate protocol as that is all is needed by Application. This then means someone can use Application and their own responder without being required to keep the context fields we require to use Router

Not sure about name InstantiableRequestContext, if you have a better name please say

@adam-fowler adam-fowler changed the base branch from main to context-source June 14, 2024 06:53
@adam-fowler adam-fowler merged commit ec1bc51 into context-source Jun 15, 2024
4 of 5 checks passed
@adam-fowler adam-fowler deleted the collapse-request-context branch June 15, 2024 09:40
adam-fowler added a commit that referenced this pull request Jun 15, 2024
…469)

* Replace RequestContext initialization parameters with associatedtype

* swift format

* Collapse BaseRequestContext into RequestContext (#474)

* Merge BaseRequestContext and RequestContext into one protocol

* swiftformat

* Add InstantiableRequestContext

* Rename CoreRequestContext to CoreRequestContextStorage (#473)
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.

None yet

2 participants