-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat(ama-sdk): move ApiFetchClient to dedicated package #2118
Conversation
@@ -116,6 +120,7 @@ | |||
"@o3r/schematics": "<%= sdkCoreRange %>" | |||
},<% } %> | |||
"peerDependencies": { | |||
"@ama-sdk/client-fetch": "<%= sdkCoreRange %>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mandatory because of api-mock.ts
.
Created #2117 (containing breaking change) to remove it.
fef26e3
to
aff071a
Compare
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 9c7e9e2. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
cb879c0
to
842d52b
Compare
aaa0ba9
to
aa5d52a
Compare
*/ | ||
export interface PluginAsyncStarter { | ||
/** Determine if the action can start */ | ||
canStart?(): boolean | Promise<boolean>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question for my personal knowledge
is there a difference with
canStart?(): boolean | Promise<boolean>; | |
canStart?: () => boolean | Promise<boolean>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copy pasted it from the core actually so I did not check the code.
I wonder if the diff is that this notation enforce the usage of class property.
packages/@ama-sdk/client-fetch/src/plugins/abort/abort.fetch.ts
Outdated
Show resolved
Hide resolved
aa5d52a
to
c8026d4
Compare
93ccefa
to
dac33b7
Compare
7dc2a86
to
cb06684
Compare
cb06684
to
be3325b
Compare
be3325b
to
3d104eb
Compare
3d104eb
to
9c7e9e2
Compare
Proposed change
move ApiFetchClient to dedicated package