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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
#37 refacto services application (#1)
* feat: refactor ingredient service and repository structure
This change reorganizes the ingredient service and repository
structure to improve code clarity and maintainability.
- Updated import paths to reflect the new directory structure.
- Introduced new classes for MongoDB, DuckDB, and in-memory
ingredient repositories.
- Added a new use case for finding ingredients by name.
- Enhanced the ingredient service to utilize the new use case.
- Updated API routes to align with the new service structure.
These changes lay the groundwork for future enhancements and
better separation of concerns within the application.
Signed-off-by: Killian KOPP <killiankopp@gmail.com>
* feat: enhance multitenancy support in configuration
This update improves the multitenancy capabilities of the application.
- Added a multitenant option in the configuration to manage tenant URIs.
- Refactored repository and service initialization to utilize tenant URIs.
- Updated ingredient service methods to inject tenant URIs for context.
This change enhances the application's flexibility in handling multiple tenants.
Signed-off-by: Killian KOPP <killiankopp@gmail.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
---------
Signed-off-by: Killian KOPP <killiankopp@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>