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

BIT-91: Stub out API services #11

Merged
merged 5 commits into from
Aug 29, 2023
Merged

Conversation

matt-livefront
Copy link
Collaborator

🎟️ Tracking

BIT-91

🚧 Type of change

  • 🚀 New feature development

📔 Objective

This PR sets up an initial APIService that will be used to make API requests throughout the application. I stubbed out protocols for different groups of API requests based on the intended usage and added a MockHTTPClient used for mocking API responses for testing.

📋 Code changes

  • APIService.swift: Wraps the various internal HTTPClients and can be extended to implement specific APIs.
  • MockHTTPClient.swift: Allows mocking API requests in tests.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

fedemkr
fedemkr previously approved these changes Aug 28, 2023
Base automatically changed from matt/BIT-59-networking-layer to main August 29, 2023 15:14
@matt-livefront matt-livefront dismissed fedemkr’s stale review August 29, 2023 15:14

The base branch was changed.

@matt-livefront matt-livefront requested a review from fedemkr August 29, 2023 15:17
Copy link
Collaborator

@jubie-livefront jubie-livefront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me 🚀

@matt-livefront matt-livefront merged commit a12f732 into main Aug 29, 2023
@matt-livefront matt-livefront deleted the matt/BIT-91-api-service branch August 29, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants