-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
blockedWaiting on igniteCore refactor completionWaiting on igniteCore refactor completionenhancementNew feature or requestNew feature or requestv2
Description
[Feature Request] Create REST Adapter for igniteCore Unified API
Description
Implement a REST adapter for igniteCore to support API calls, lazy loading, and caching.
This adapter will:
- Handle HTTP methods (GET, POST, PUT, DELETE).
- Support lazy initialization for API configurations.
- Implement offline caching and state persistence for PWAs.
- Ensure error handling and timeouts for reliability.
Tasks
1. Adapter Implementation
- Create RestAdapter.ts implementing the unified adapter interface.
- Support lazy and eager loading options for configurations.
- Implement caching for offline support and state persistence.
- Add methods for:
- GET requests
- POST requests
- PUT requests
- DELETE requests
2. Testing and Validation
- Write unit tests for:
- Lazy initialization with dynamic configurations.
- Offline caching and data persistence.
- Error handling for timeouts and failed requests.
3. Documentation
- Add examples in the README for:
- Fetching data via GET requests.
- Creating resources via POST requests.
- Offline caching and persistence examples.
Expected Outcome
- A REST adapter integrated with igniteCore supports HTTP methods, caching, and lazy loading.
- Tests and documentation for real-world API interactions.
Dependency
This issue depends on completing Issue #10 - igniteCore Refactor.
It cannot proceed until the unified API is finalized and tested.
Priority: High
This adapter is critical for integrating REST APIs in ignite-element applications.
Metadata
Metadata
Assignees
Labels
blockedWaiting on igniteCore refactor completionWaiting on igniteCore refactor completionenhancementNew feature or requestNew feature or requestv2
Projects
Status
Backlog