You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current implementation, the package @ama-sdk/core contains the following items:
Api helpers function (generating the final request parameters)
Fetch Api Client
Angular Api Client
Beacon Api Client
Reply and Request Plugins
Fetch Plugins
(Angular Plugins)
Mock mechanism
To be able to expose all the items without forcing non mandatory dependencies, several entrypoints are exported from @ama-sdk/core. (example: Angular dependencies, several plugins, etc...).
The future integration of Tanstack Query will lead potentially to several plugins and Api Client requiring additional entrypoints.
Proposal
Move the Client API to dedicated @ama-sdk/client-* packages.
This proposal comes with the following acceptance criteria:
Move the plugins dedicated to the ApiClient to the new package
Deprecate the usage of ApiClient and its plugins from @ama-sdk/core
Provide schematics to support the migration
The change should affect the following ApiClients:
Context
In the current implementation, the package
@ama-sdk/core
contains the following items:To be able to expose all the items without forcing non mandatory dependencies, several entrypoints are exported from
@ama-sdk/core
. (example: Angular dependencies, several plugins, etc...).The future integration of Tanstack Query will lead potentially to several plugins and Api Client requiring additional entrypoints.
Proposal
Move the Client API to dedicated
@ama-sdk/client-*
packages.This proposal comes with the following acceptance criteria:
@ama-sdk/core
The change should affect the following ApiClients:
The text was updated successfully, but these errors were encountered: