Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactor Client.call() to use middlewares#145

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
stnguyen90 wants to merge3 commits intofeat-offline-support-refactor
base:feat-offline-support-refactor
Choose a base branch
Loading
fromfeat-offline-support-refactor-middleware

Conversation

stnguyen90
Copy link
Contributor

What does this PR do?

Break apartClient.call() using middlewares.

Test Plan

Manual

Related PRs and Issues

Have you read theContributing Guidelines on issues?

Yes

Previously, we added various caching metadata in the services andpassed those to the Client so that the Client knew where to cache thedata. This was a little messy and decentralized the offline supportcode.By adding a router, we can match against the path the Client receivesand determine where to cache the data.
@@ -0,0 +1,80 @@
final routes = [
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I was thinking this could be generated by the SDK generator.

Copy link
Member

Choose a reason for hiding this comment

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

Well, i'm okay with generating by SDK generator if that is easier than hardcoding.

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

@lohanidamodarlohanidamodarAwaiting requested review from lohanidamodar

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@stnguyen90@lohanidamodar

[8]ページ先頭

©2009-2025 Movatter.jp