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

APP-7497: Add Switch client, server, and fake models #4741

Open
wants to merge 1 commit into
base: APP-7497/ethanlookpotts/button
Choose a base branch
from

Conversation

ethanlookpotts
Copy link
Member

This adds the switch client and server, and registers switch 2-way, 3-way, and 10-way fake models.

Here are switch components properly configured in app:
image

  1. APP-7497: Add Button and Switch APIs api#619
  2. APP-7497: Add Button client, server, and fake model #4740
  3. APP-7497: Add Switch client, server, and fake models #4741

Change log

I used Cursor quite a bit here:

  • Add Switch SDK helpers
  • Add client and tests
  • Add server and tests
  • Add inject testutil
  • Add fake switch implementations and register them

Review requests

  • Code review
  • Try a config with the switch fakes - does they work as expected?

@@ -0,0 +1,88 @@
// Package switch_component contains a gRPC based switch client.
package switch_component
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: switch is a keyword, so the package is called switch_component

@ethanlookpotts ethanlookpotts changed the title APP-7497: Add Switch client, server, and fake model APP-7497: Add Switch client, server, and fake models Jan 24, 2025
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.

1 participant