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

feat(ama-sdk): move ApiFetchClient to dedicated package #2118

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

kpanot
Copy link
Contributor

@kpanot kpanot commented Sep 2, 2024

Proposed change

move ApiFetchClient to dedicated package

@kpanot kpanot requested a review from a team as a code owner September 2, 2024 02:45
@@ -116,6 +120,7 @@
"@o3r/schematics": "<%= sdkCoreRange %>"
},<% } %>
"peerDependencies": {
"@ama-sdk/client-fetch": "<%= sdkCoreRange %>",
Copy link
Contributor Author

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.

Copy link

nx-cloud bot commented Sep 2, 2024

☁️ Nx Cloud Report

CI 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 targets

Sent with 💌 from NxCloud.

*/
export interface PluginAsyncStarter {
/** Determine if the action can start */
canStart?(): boolean | Promise<boolean>;
Copy link
Contributor

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

Suggested change
canStart?(): boolean | Promise<boolean>;
canStart?: () => boolean | Promise<boolean>;

Copy link
Contributor Author

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.

@kpanot kpanot force-pushed the feature/sdk-fetch-client branch 2 times, most recently from 93ccefa to dac33b7 Compare September 3, 2024 14:21
@kpanot kpanot linked an issue Sep 4, 2024 that may be closed by this pull request
@kpanot kpanot force-pushed the feature/sdk-fetch-client branch 2 times, most recently from 7dc2a86 to cb06684 Compare September 6, 2024 02:07
fpaul-1A
fpaul-1A previously approved these changes Sep 6, 2024
@kpanot kpanot added the deprecate The issue or pull request involves code deprecation label Sep 11, 2024
fpaul-1A
fpaul-1A previously approved these changes Sep 11, 2024
@kpanot kpanot added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit ce1fa8c Sep 17, 2024
28 of 29 checks passed
@kpanot kpanot deleted the feature/sdk-fetch-client branch September 17, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FetchApiClient
3 participants